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

os.version for Windows will stay at 10.0 forever

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • None
    • None
    • core-libs
    • None

      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?

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

              Created:
              Updated: