-
Bug
-
Resolution: Not an Issue
-
P4
-
9
java.{vm.?}specification.version system properties are independent of java.version and are determined by the JCP (either a JSR or an Maintenance Release(MR)). While it makes sense for these values to be $MAJOR for major releases, the JCP may choose to set them to other values during a subsequent MR. In the case of Java SE 9, if there's ever an MR against JSR 379 (Java SE 9 Release Contents) the values may need to be updated to something besides $MAJOR.
The value of the system property java.specification.version is currently set
in the build file common/autoconf/spec.gmk:
VERSION_SPECIFICATION := @VERSION_MAJOR@
The value of the system property java.vm.specification.version is currently set in VM code in src/share/vm/runtime/arguments.cpp in the method Arguments::init_version_specific_system_properties():
uint32_t spec_version = JDK_Version::current().major_version();
Ideally, these two issues should be handled at the same time.
The value of the system property java.specification.version is currently set
in the build file common/autoconf/spec.gmk:
VERSION_SPECIFICATION := @VERSION_MAJOR@
The value of the system property java.vm.specification.version is currently set in VM code in src/share/vm/runtime/arguments.cpp in the method Arguments::init_version_specific_system_properties():
uint32_t spec_version = JDK_Version::current().major_version();
Ideally, these two issues should be handled at the same time.
- relates to
-
JDK-8204565 (spec) Document java.{vm.}?specification.version system properties' relation to $FEATURE
- Resolved
-
JDK-8192828 JEP 322: Time-Based Release Versioning
- Closed
-
JDK-8149519 Set java.specification.version to the MAJOR java version
- Resolved
-
JDK-8162686 (spec) java.{vm.}?specification is independent of java.version
- Closed
-
JDK-8204565 (spec) Document java.{vm.}?specification.version system properties' relation to $FEATURE
- Resolved
-
JDK-8061493 JEP 223: New Version-String Scheme
- Closed
(1 relates to)