Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8204565

(spec) Document java.{vm.}?specification.version system properties' relation to $FEATURE

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b18

      Backports

        Description

        With the integration of JEP 322 "Time-Based Release Versioning"
        into JDK 10, VERSION_FEATURE is used to set the value of the system properties "java.specification.version" [1] and "java.vm.specification.version" [2] (though the term "major" is still used in VM code, see JDK-8193719).

        We can update the System.getProperties() javadoc to be more specific about the value reported in these system properties.

        1. http://hg.openjdk.java.net/jdk/jdk/rev/d2a837cf9ff1#l6.23
        2. http://hg.openjdk.java.net/jdk/jdk/rev/d2a837cf9ff1#l15.17

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bchristi Brent Christian
                  Reporter:
                  bchristi Brent Christian
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: