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

[windows] Update OS detection code to recognize Windows Server 2019

    Details

    • Subcomponent:
    • Resolved In Build:
      b21
    • CPU:
      generic
    • OS:
      windows

      Backports

        Description

        The current Windows OS detection code in os_windows.cpp and
         in java.base/windows/native/libjava/java_props_md.c does not recognize Windows Server 2019 (to be released in October 2019).
        Windows Server 2019 is currently recognized as "Windows Server 2016" which is put into the os name system property (plus printed in the hs_err file).
        A fix is to add a check for the buildNumber which could be used to distinguish the versions.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mbaesken Matthias Baesken
                  Reporter:
                  mbaesken Matthias Baesken
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: