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

Update OS detection code to recognize Windows Server 2019

XMLWordPrintable

    • x86_64
    • windows

      ADDITIONAL SYSTEM INFORMATION :
      Windows Server 2019

      A DESCRIPTION OF THE PROBLEM :
      Java does not recognize Windows Server 2019 is currently recognized as "Windows Server 2016" which is put into the os name system property.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      System.out.println("os.name") prints Windows Server 2016 for 2019 version

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Windows Server 2019
      ACTUAL -
      Windows Server 2016

      FREQUENCY : always


            hseigel Harold Seigel (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: