src/os/windows/vm/os_windows.cpp

changeset 8660
719accf109f5
parent 7808
9a23a160ca57
child 8856
ac27a9c85bea
child 9327
f96fcd9e1e1b
child 9413
5aa3d728164a
equal deleted inserted replaced
8659:c70ebf41026a 8660:719accf109f5
1 /* 1 /*
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
1745 1745
1746 case 6004: 1746 case 6004:
1747 if (is_workstation) { 1747 if (is_workstation) {
1748 st->print("10"); 1748 st->print("10");
1749 } else { 1749 } else {
1750 // The server version name of Windows 10 is not known at this time 1750 st->print("Server 2016");
1751 st->print("%d.%d", major_version, minor_version);
1752 } 1751 }
1753 break; 1752 break;
1754 1753
1755 default: 1754 default:
1756 // Unrecognized windows, print out its major and minor versions 1755 // Unrecognized windows, print out its major and minor versions

mercurial