Compilation feedback and version question

Alex Buckley alex.buckley at oracle.com
Wed Oct 28 19:25:13 UTC 2015


On 10/28/2015 11:57 AM, Stephen Colebourne wrote:
> When running "java -listmods" I get outpuy including this:
>
> java.base at 9.0
> java.compact1 at 9.0
> java.compact2 at 9.0
> java.compact3 at 9.0
> java.compiler at 9.0
> java.corba at 9.0
>
> But when I look at the JDK source module-info.java file:
> http://hg.openjdk.java.net/jigsaw/jake/jdk/file/1b632228f7e5/src/java.base/share/classes/module-info.java
> It does not contain the version number "9.0".
>
> Where is the version coming from?

The 'jar' invocation that built the modular JARs that were subsequently 
jlink'ed into the image. In the "Advanced Modular Development" slides at 
http://openjdk.java.net/projects/jigsaw/j1/, see the "Library Migration" 
section and in particular the slide numbered 30.

Alex


More information about the jigsaw-dev mailing list