Re: Javadoc vs Accessibility

2017-01-30 Thread Jonathan Gibbons
I see the command line help text has not been updated for the existing simple options. That is a bug. -- Jon On 01/30/2017 04:05 PM, Jonathan Gibbons wrote: Nicolai, The simple answer is "Yes, there will be an easy way to generate documentation based on accessibility", and "yes, the

Re: Javadoc vs Accessibility

2017-01-30 Thread Jonathan Gibbons
Nicolai, The simple answer is "Yes, there will be an easy way to generate documentation based on accessibility", and "yes, the javadoc tool is module aware". We've added new options that generalize the existing simple options, so that you can have detailed control if you really need it, but

Javadoc vs Accessibility

2017-01-30 Thread Nicolai Parlog
Hi! There is an interesting question up on StackOverflow, "How does the Javadoc deal with the visibility of modules in Java 9?". http://stackoverflow.com/q/41929425/2525313 It asks whether there will be an easy way to generate documentation based on accessibility? Next to an actual

The module implementation uses the wrong values for ACC_TRANSITIVE and ACC_STATIC_PHASE

2017-01-30 Thread Remi Forax
Hi all, chasing a bug on ASM, i've found that the module implementation in the JDK uses the wrong values for ACC_TRANSITIVE and ACC_STATIC_PHASE, in the spec [1], 0x0020 (ACC_TRANSITIVE) 0x0040 (ACC_STATIC_PHASE) but in the implementation [2], public static final int ACC_TRANSITIVE=

Re: RFR: 8145337: [JVMCI] JVMCI initialization with SecurityManager installed fails: java.security.AccessControlException: access denied

2017-01-30 Thread Mandy Chung
> On Jan 30, 2017, at 1:36 PM, Doug Simon wrote: > > >> On 30 Jan 2017, at 21:55, Mandy Chung wrote: >> >> >>> On Jan 30, 2017, at 10:38 AM, Doug Simon wrote: >>> >>> I’ve extended the webrev with that change - please

hg: jigsaw/jake/jdk: 4 new changesets

2017-01-30 Thread mark . reinhold
Changeset: d6eee62a15ca Author:mr Date: 2017-01-09 14:12 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/d6eee62a15ca Add @revised and @spec tags for the JPMS specification ! src/java.base/share/classes/java/lang/Class.java !

hg: jigsaw/jake/jaxws: 3 new changesets

2017-01-30 Thread mark . reinhold
Changeset: f3a9335f6f44 Author:mr Date: 2017-01-12 17:46 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/jaxws/rev/f3a9335f6f44 Added tag jpms-edr for changeset b148ffe87b58 ! .hgtags Changeset: 4c46cd09f7eb Author:mr Date: 2017-01-12 18:05 -0800 URL:

hg: jigsaw/jake/langtools: 4 new changesets

2017-01-30 Thread mark . reinhold
Changeset: ff59f4589b3e Author:mr Date: 2017-01-09 14:12 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/ff59f4589b3e Add @revised and @spec tags for the JPMS specification ! src/java.compiler/share/classes/javax/lang/model/element/Element.java !

hg: jigsaw/jake: 3 new changesets

2017-01-30 Thread mark . reinhold
Changeset: 6bdef88dea24 Author:mr Date: 2017-01-12 17:46 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/rev/6bdef88dea24 Added tag jpms-edr for changeset 88094de8a4cc ! .hgtags Changeset: 4692b5e8bfec Author:mr Date: 2017-01-12 18:05 -0800 URL:

hg: jigsaw/jake/nashorn: 3 new changesets

2017-01-30 Thread mark . reinhold
Changeset: 64bc77a70efe Author:mr Date: 2017-01-12 17:46 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/nashorn/rev/64bc77a70efe Added tag jpms-edr for changeset 9488d434850a ! .hgtags Changeset: 47d6631559bc Author:mr Date: 2017-01-12 18:05 -0800 URL:

hg: jigsaw/jake/hotspot: 3 new changesets

2017-01-30 Thread mark . reinhold
Changeset: 8b7a77a3986f Author:mr Date: 2017-01-12 17:46 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/hotspot/rev/8b7a77a3986f Added tag jpms-edr for changeset 8ff4522d2ecb ! .hgtags Changeset: fb1033843eb0 Author:mr Date: 2017-01-12 18:05 -0800 URL:

hg: jigsaw/jake/jaxp: 3 new changesets

2017-01-30 Thread mark . reinhold
Changeset: c3d7cb8b08da Author:mr Date: 2017-01-12 17:46 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/jaxp/rev/c3d7cb8b08da Added tag jpms-edr for changeset bddea134df23 ! .hgtags Changeset: fa0981755c22 Author:mr Date: 2017-01-12 18:05 -0800 URL:

hg: jigsaw/jake/corba: 3 new changesets

2017-01-30 Thread mark . reinhold
Changeset: aa59b6e3002d Author:mr Date: 2017-01-12 17:46 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/corba/rev/aa59b6e3002d Added tag jpms-edr for changeset c7995982569d ! .hgtags Changeset: 37c94d33c7bf Author:mr Date: 2017-01-12 18:05 -0800 URL:

Re: What is the purpose of --inherit-runtime-environment

2017-01-30 Thread Jonathan Gibbons
Previously, in JDK 8 and before, javac would use the runtime bootclasspath if there was explicit setting for the compilation bootclasspath. Now, in 9, there is no sense of a bootclasspath, since it has been superseded by modules and the module graph. But even so, it is reasonable to ask the

Re: java.desktop

2017-01-30 Thread Alan Bateman
On 30/01/2017 16:25, Hontvári Attila wrote: Regarding to the reduction of the java.desktop module size: Has Swing any circular dependency with other java.desktop parts? I know about only one, Desktop::setDefaultJMenuBar, which is only to be introduced in Java 9. If that dependency could be

Re: Automatic module names

2017-01-30 Thread Brian Fox
In my mind, proposal 2 (eliminating automobiles) is infinitely preferable to what we have today. The one downside as compared to leveraging the existing coordinates (proposal 1) is that it doesn't do anything to set a best practice in what good names look like. If nothing else, the maven

Re: java.desktop

2017-01-30 Thread Hontvári Attila
Regarding to the reduction of the java.desktop module size: Has Swing any circular dependency with other java.desktop parts? I know about only one, Desktop::setDefaultJMenuBar, which is only to be introduced in Java 9. If that dependency could be broken (by replacing the parameter type from

Re: Automatic module names

2017-01-30 Thread David M. Lloyd
So far I haven't commented on automatic modules because while I don't see them as useful, I also didn't see them as harmful. However this keeps popping up, so, see inline comments. On 01/27/2017 08:11 AM, Stephen Colebourne wrote: [...] The issue is clear. If I write this: module

Re: Applications for --limit-modules?

2017-01-30 Thread Nicolai Parlog
Hi Alan. >> java -p mods --lomit-modules foo -m bar > This limits the set of observable modules to `bar` plus the > transitive closure of `foo`. Ah, now I get it. You originally wrote: > The set of observable modules is the the transitive closure of the > modules you specify to

hg: jigsaw/jake/jdk: 5 new changesets

2017-01-30 Thread alan . bateman
Changeset: 6dc3e3aa8f57 Author:alanb Date: 2017-01-30 12:00 + URL: http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/6dc3e3aa8f57 Module path can ignore non-modules in module directories ! src/java.base/share/classes/java/lang/module/ModuleFinder.java !

Re: Sync with jdk9 and ASM alpha 2

2017-01-30 Thread forax
As far as i know, no pending changes ! and given how close we are from the end (the spec is in EDR stage), i hope that the classfile format is in its final version. cheers, Rémi > De: "Roman Shevchenko" > À: "Alan Bateman" , "Remi

Re: Sync with jdk9 and ASM alpha 2

2017-01-30 Thread Roman Shevchenko
Hi, are there any pending changes to the class file format? Looking forward to the Alpha 2 release :) > On 11 Dec 2016, at 17:21, Alan Bateman wrote: > > On 11/12/2016 13:05, Remi Forax wrote: > >> Hi Alan, >> if i get it right, the jdk9 b148 (not the jigsaw