JDK-8081573 : Add support for Windows 10
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 8u45
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: windows_10
  • CPU: x86
  • Submitted: 2015-05-30
  • Updated: 2015-07-14
  • Resolved: 2015-07-14
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [version 10.0.10130]

A DESCRIPTION OF THE PROBLEM :
When I did a System.getProperty("os.name"), it returns "Windows 8.1" and System..getProperty("os.version"), "6.3" is returned. My OS is Windows 10, so System.getPropery("os.name") should return "Windows 10" and System.getProperty("os.version") "10.0". This is not really a bug, but need to be fixed.

REGRESSION.  Last worked in version 7u75

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
System.out.println(System.getProperty("os.name"));
System.out.println(System.getProperty("os.version"));

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Windows 10
6.3
ACTUAL -
Windows 8.1
10.0

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
public class Test
{
        public static void main(String ... args)
        {
                System.out.println(System.getProperty("os.name"));
                System.out.println(System.getProperty("os.version"));
        }
}
---------- END SOURCE ----------

SUPPORT :
YES


Comments
This issue duplication 8066504 and it was fixed in 9 and backported to 8.
14-07-2015