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

os.version for Windows will stay at 10.0 forever

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      Now that Microsoft has decided to call Windows "10" forever and release update versions on a once (or twice?) per year basis, the os.version system property in Java will probably freeze at 10.0 and thus useless in determining what features there are.

      In fact, Windows is now reinterpreting its "version" in https://docs.microsoft.com/en-us/windows-server/get-started/windows-server-release-info, which looks like 1607, 1809, etc. The about dialogs of Windows 10 and Windows Server 2019 also show this number in the "Version" field. (Although the "ver" command still shows 10.0.build.number).

      Can we assign this number to os.version?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              weijun Weijun Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: