JDK-8162686 : (spec) java.{vm.}?specification is independent of java.version
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2016-07-28
  • Updated: 2018-06-12
  • Resolved: 2018-06-12
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
The specification java.{vm.}?specification.version system properties should state that they are independent of java.version.  These system properties are are determined by the JCP (either a JSR or an MR).  If there's ever an MR against JSR 379 (Java SE 9 Release Contents) the value may need to be updated to something besides $MAJOR. JEP 223 (JDK-8061493, Verona) should be modified to adjust the syntax of these system properties.