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

Add support for Windows 2016

    XMLWordPrintable

Details

    • generic
    • windows

    Description

      A DESCRIPTION OF THE REQUEST :
      FULL PRODUCT VERSION :
      java version "1.8.0_77"
      Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
      Java HotSpot(TM) Client VM (build 25.77-b03, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      OS Name: Microsoft Windows Server 2016
      OS Version: 10.0.14300 N/A Build 14300

      A DESCRIPTION OF THE PROBLEM :
      When I execute a System.getProperty("os.name"), it returns "Windows NT (unknown)" and System..getProperty("os.version"), "10.0" is returned. My OS is Windows server 2016, so System.getPropery("os.name") should return "Windows server 2016". This is not really a bug, but need to be fixed.


      JUSTIFICATION :
      Below java api calls are not giving Windows server 2016 OS details.
      This OS support needs to added to show proper OS details.

      System.getProperty("os.name");
      System.getProperty("os.version");

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      My OS is Windows server 2016, So System.getPropery("os.name") should return "Windows server 2016".
      ACTUAL -
      When I execute a System.getProperty("os.name"), it returns "Windows NT (unknown)" and System.getProperty("os.version"), "10.0" is returned.

      ---------- BEGIN SOURCE ----------
      public class Test
      {
              public static void main(String ... args)
              {
                      System.out.println(System.getProperty("os.name"));
                      System.out.println(System.getProperty("os.version"));
              }
      }
      ---------- END SOURCE ----------

      Attachments

        Issue Links

          Activity

            People

              msolovie Maxim Soloviev (Inactive)
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: