mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8150490: Update OS detection code to recognize Windows Server 2016
Reviewed-by: mgronlun, alanb, dholmes
This commit is contained in:
parent
5d5113046a
commit
c25e32cc70
1 changed files with 1 additions and 2 deletions
|
@ -1668,8 +1668,7 @@ void os::win32::print_windows_version(outputStream* st) {
|
|||
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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue