Review request: JDK-8020191 System.getProperty( " " ) returns " Windows NT (unknown) " on Windows 8.1

Alexey Utkin alexey.utkin at
Wed Jul 31 12:53:30 UTC 2013

Bug description:

Here is the suggested fix:

We need to be consistent with the rest of OS, so I extend the case for 
6.3 internal version number by values "Windows 8.1" for workstation OS, 
and "Windows Server 2012 R2" for server OS.

But we get a chance to have a wrong OS name due to MS compatibility 

Here is the problem description:

and MS respond:

"In Windows 8.1 Preview, we have introduced a new API, Versionhelpers 
API, that deprecates the need for using GetVersion(Ex) APIs. This 
addresses difficulties in interpreting the numerical value returned by 
the GetVersion(Ex) APIs."

"The internal version number for Windows 8.1 Preview and Windows Server 
2012 R2 Preview is 6.3. Only apps that are targeting Windows 8.1 will 
receive a return value of 6.3. Those apps that are not targeted for 
Windows 8.1 will receive a return value of 6.2 unless previously shimmed 
as discussed below."


More information about the core-libs-dev mailing list