8150490: Update OS detection code to recognize Windows Server 2016
authorctornqvi
Wed, 24 Feb 2016 16:34:25 -0500
changeset 36361 00aaa003d2e7
parent 36354 28bbe66a0498
child 36362 3113b1b523c4
8150490: Update OS detection code to recognize Windows Server 2016 Reviewed-by: mgronlun, alanb, dholmes
hotspot/src/os/windows/vm/os_windows.cpp
--- a/hotspot/src/os/windows/vm/os_windows.cpp	Wed Feb 24 13:18:54 2016 -0500
+++ b/hotspot/src/os/windows/vm/os_windows.cpp	Wed Feb 24 16:34:25 2016 -0500
@@ -1668,8 +1668,7 @@
     if (is_workstation) {
       st->print("10");
     } else {
-      // The server version name of Windows 10 is not known at this time
-      st->print("%d.%d", major_version, minor_version);
+      st->print("Server 2016");
     }
     break;