On 10/28/2015 11:57 AM, Stephen Colebourne wrote:
When running "java -listmods" I get outpuy including this:

java.base@9.0
java.compact1@9.0
java.compact2@9.0
java.compact3@9.0
java.compiler@9.0
java.corba@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

Reply via email to