8150490: Update OS detection code to recognize Windows Server 2016

Reviewed-by: mgronlun, alanb, dholmes
This commit is contained in:
Christian Tornqvist 2016-02-24 16:34:25 -05:00
parent 5d5113046a
commit c25e32cc70

View file

@ -1668,8 +1668,7 @@ void os::win32::print_windows_version(outputStream* st) {
if (is_workstation) { if (is_workstation) {
st->print("10"); st->print("10");
} else { } else {
// The server version name of Windows 10 is not known at this time st->print("Server 2016");
st->print("%d.%d", major_version, minor_version);
} }
break; break;