The specification version for 9.1 updates

Iris Clark iris.clark at oracle.com
Thu Jul 21 18:23:30 UTC 2016


Hi, Daniil.

You're observing the following bug:

    8149519: Investigate implementation of java.specification.verison
    https://bugs.openjdk.java.net/browse/JDK-8149519

(The summary should probably be changed to more accurately describe the problem.)

I'm trying to get back to this bug, but the key point is that value of this system property is determined by JCP activity (e.g. a Maintenance Release), not the version of the JDK.

> Am I right that the specification version for 9.1 should still be 9?

Yes.  The value will remain "9" at least until the first MR for JSR 379 (Java SE 9 Release Contents).

Thanks,
iris

-----Original Message-----
From: Daniil Titov 
Sent: Thursday, July 21, 2016 9:39 AM
To: verona-dev at openjdk.java.net
Subject: The specification version for 9.1 updates

Hello,

 

Per http://openjdk.java.net/jeps/223 "The major version number, incremented for a major release that contains significant new features as specified in a new edition of the Java SE Platform Specification"  so $MINOR should not be part of the specification version.

 

At the same time trying the build 9.1.1 (produced with following additional arguments passed to configure:

"--with-version-pre= --with-version-major=9 --with-version-minor=1 --with-version-security=1 --with-version-opt=") and dumping system properties shows that "java.specification.version = 9.1.1" while "java.vm.specification.version = 9"

 

Am I right that the specification version for 9.1 should still be 9?

 

Thanks!

 

Best regards,

Daniil

 


More information about the verona-dev mailing list