# HG changeset patch # User msolovie # Date 1481301647 -10800 # Node ID e7b7a2666508754b8dc6f243b70532e1e4ef166f # Parent ed3280425403a9847a2e27557753c41f15f999f9 8150490: Update OS detection code to recognize Windows Server 2016 Reviewed-by: mgronlun, alanb, dholmes diff -r ed3280425403 -r e7b7a2666508 src/os/windows/vm/os_windows.cpp --- a/src/os/windows/vm/os_windows.cpp Tue Apr 18 07:37:58 2017 +0100 +++ b/src/os/windows/vm/os_windows.cpp Fri Dec 09 19:40:47 2016 +0300 @@ -1,5 +1,5 @@ /* - * 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. * * This code is free software; you can redistribute it and/or modify it @@ -1697,8 +1697,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;