提交 7797f1bb 编写于 作者: M msolovie

8150490: Update OS detection code to recognize Windows Server 2016

Reviewed-by: mgronlun, alanb, dholmes
上级 4be998e6
/* /*
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -1747,8 +1747,7 @@ void os::win32::print_windows_version(outputStream* st) { ...@@ -1747,8 +1747,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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册