# HG changeset patch # User uta # Date 1390443187 28800 # Node ID 534eeff29ac9fcbbb99ef8908548dbb368d04baf # Parent c933355731b23e05b7a488cba8cff9409f8a9815 8020191: System.getProperty("os.name") returns "Windows NT (unknown)" on Windows 8.1 Reviewed-by: alanb, khazra, chegar diff -r c933355731b2 -r 534eeff29ac9 src/windows/native/java/lang/java_props_md.c --- a/src/windows/native/java/lang/java_props_md.c Wed Feb 12 17:49:39 2014 +0000 +++ b/src/windows/native/java/lang/java_props_md.c Wed Jan 22 18:13:07 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2014, 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 @@ -448,6 +448,7 @@ case 0: sprops.os_name = "Windows Vista"; break; case 1: sprops.os_name = "Windows 7"; break; case 2: sprops.os_name = "Windows 8"; break; + case 3: sprops.os_name = "Windows 8.1"; break; default: sprops.os_name = "Windows NT (unknown)"; } } else { @@ -455,6 +456,7 @@ case 0: sprops.os_name = "Windows Server 2008"; break; case 1: sprops.os_name = "Windows Server 2008 R2"; break; case 2: sprops.os_name = "Windows Server 2012"; break; + case 3: sprops.os_name = "Windows Server 2012 R2"; break; default: sprops.os_name = "Windows NT (unknown)"; } } diff -r c933355731b2 -r 534eeff29ac9 src/windows/resource/java.manifest --- a/src/windows/resource/java.manifest Wed Feb 12 17:49:39 2014 +0000 +++ b/src/windows/resource/java.manifest Wed Jan 22 18:13:07 2014 -0800 @@ -44,9 +44,15 @@ - + + + + + + + - +