changeset 36361:00aaa003d2e7

8150490: Update OS detection code to recognize Windows Server 2016 Reviewed-by: mgronlun, alanb, dholmes
author ctornqvi
date Wed, 24 Feb 2016 16:34:25 -0500
parents 28bbe66a0498
children 3113b1b523c4
files hotspot/src/os/windows/vm/os_windows.cpp
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;