Re: Warning: Cannot use jsr199 Javac from jrt-fs.jar"

2015-10-09 Thread Alan Bateman
On 09/10/2015 05:26, Jayaprakash Arthanareeswaran wrote: The ability that you need, and which you're currently missing, is the ability to load code (modules) from an alternate JDK image. This is what we (the eclipse team) is missing as well and I haven't heard anything along these

jigsaw startup memory requirements

2015-10-09 Thread Martin Buchholz
Latest jigsaw b83 works well with the temporary hacks we have in place in jsr166 CVS, but we do see one jtreg test failure. Running a modern jdk with only -Xmx2m is pushing it, but you probably don't want to arbitrarily increase jdk memory requirements just for jigsaw. Should be bump up the -Xmx

Re: jigsaw startup memory requirements

2015-10-09 Thread Alan Bateman
On 09/10/2015 22:15, Martin Buchholz wrote: Latest jigsaw b83 works well with the temporary hacks we have in place in jsr166 CVS, but we do see one jtreg test failure. Running a modern jdk with only -Xmx2m is pushing it, but you probably don't want to arbitrarily increase jdk memory

Re: RFR 7199353: Allow ConstructorProperties annotation from any package

2015-10-09 Thread Jaroslav Bachorik
On 9.10.2015 14:21, Peter Levart wrote: On 10/09/2015 02:07 PM, Jaroslav Bachorik wrote: On 9.10.2015 13:42, Peter Levart wrote: Hi, I don't think it has been mentioned before, but is @ConstructorProperties still necessary in JDK8+ ? Couldn't the j.l.r.Constructor#getParameters() be used

Re: RFR: 8134418 javax/xml/bind/jxc/8046817/GenerateEnumSchema.java failing in jake

2015-10-09 Thread Alan Bateman
On 09/10/2015 12:00, Miroslav Kos wrote: Hi everybody, could I ask for review? JBS: https://bugs.openjdk.java.net/browse/JDK-8134418 webrev: http://cr.openjdk.java.net/~mkos/8134418/jaxws.02/ The change is pretty straightforward, there are different codepaths for given method and the

Re: RFR 7199353: Allow ConstructorProperties annotation from any package

2015-10-09 Thread Daniel Fuchs
On 09/10/15 14:30, Jaroslav Bachorik wrote: Would it be possible for javac to recognise a class is an MXBean and turn-on -parameters for such classes only by default? Too hacky? Definitely :) Hacky as heck :) I agree with Jaroslav. FWIW - The @CP is not used for the MXBean itself, but for

hg: jigsaw/jake/jaxws: 8134418 javax/xml/bind/jxc/8046817/GenerateEnumSchema.java failing in jake

2015-10-09 Thread alan . bateman
Changeset: 2313eb85fadd Author:mkos Date: 2015-10-09 14:59 +0100 URL: http://hg.openjdk.java.net/jigsaw/jake/jaxws/rev/2313eb85fadd 8134418 javax/xml/bind/jxc/8046817/GenerateEnumSchema.java failing in jake !

hg: jigsaw/jake/jdk: 8134418 javax/xml/bind/jxc/8046817/GenerateEnumSchema.java failing in jake

2015-10-09 Thread alan . bateman
Changeset: 75c194907490 Author:mkos Date: 2015-10-09 15:00 +0100 URL: http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/75c194907490 8134418 javax/xml/bind/jxc/8046817/GenerateEnumSchema.java failing in jake ! test/ProblemList.jake.txt

Re: RFR: 8134418 javax/xml/bind/jxc/8046817/GenerateEnumSchema.java failing in jake

2015-10-09 Thread Chris Hegarty
Looks ok to me Miran. -Chris. On 09/10/15 12:00, Miroslav Kos wrote: Hi everybody, could I ask for review? JBS: https://bugs.openjdk.java.net/browse/JDK-8134418 webrev: http://cr.openjdk.java.net/~mkos/8134418/jaxws.02/ The change is pretty straightforward, there are different codepaths for

Re: RFR 7199353: Allow ConstructorProperties annotation from any package

2015-10-09 Thread Peter Levart
On 10/09/2015 06:54 PM, Alan Bateman wrote: On 09/10/2015 16:36, Peter Levart wrote: : Sorry, but I must be missing something. When you compile a class (not an MXBean as Daniel pointed out, but a data object class) with JDK9, it can't be used on JDK8 because of class file version.

hg: jigsaw/jake/jdk: 2 new changesets

2015-10-09 Thread jean-francois . denise
Changeset: 67a090f8d062 Author:jfdenise Date: 2015-10-09 18:01 +0200 URL: http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/67a090f8d062 Rework and simplification of plugins config. Simplified ordering. Reviewed-by: jlaskey !

Re: RFR 7199353: Allow ConstructorProperties annotation from any package

2015-10-09 Thread Alex Buckley
On 10/9/2015 1:03 AM, Jaroslav Bachorik wrote: Well, if anything the @CP annotation is related to javax.management.openmbean package. All the OpenType and CompositeData definitions are in this package. @CP annotation is used to influence the way a CompositeData instance is reconstructed into an

Re: RFR 7199353: Allow ConstructorProperties annotation from any package

2015-10-09 Thread Peter Levart
On 10/09/2015 02:30 PM, Jaroslav Bachorik wrote: To answer my question: "How is one supposed to compile an MXBean that would work in JDK8- and at the same time in JDK9+ without java.desktop in the module graph?" Annotate the constructor with the both the @j.b.CP and the new @CP. In JDK 9 the