8150490: Update OS detection code to recognize Windows Server 2016 jdk8u131-b09

Fri, 09 Dec 2016 19:40:47 +0300

author
msolovie
date
Fri, 09 Dec 2016 19:40:47 +0300
changeset 8754
56e71d160839
parent 8753
59ad72c0e133
child 8755
1da23ae49386

8150490: Update OS detection code to recognize Windows Server 2016
Reviewed-by: mgronlun, alanb, dholmes

src/os/windows/vm/os_windows.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/os/windows/vm/os_windows.cpp	Tue Feb 21 10:18:56 2017 -0800
     1.2 +++ b/src/os/windows/vm/os_windows.cpp	Fri Dec 09 19:40:47 2016 +0300
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -1747,8 +1747,7 @@
    1.11      if (is_workstation) {
    1.12        st->print("10");
    1.13      } else {
    1.14 -      // The server version name of Windows 10 is not known at this time
    1.15 -      st->print("%d.%d", major_version, minor_version);
    1.16 +      st->print("Server 2016");
    1.17      }
    1.18      break;
    1.19  

mercurial