FULL PRODUCT VERSION : JDK 8u51
Run the command : System.getProperty("os.name")
ADDITIONAL OS VERSION INFORMATION :
Windows 10 Pro
A DESCRIPTION OF THE PROBLEM :
After upgrade from Windows 8.1 to Windows 10, the getProperty("os.name") command still returned previous version (8.1)
REPRODUCIBILITY :
This bug can be reproduced always.
Run the command : System.getProperty("os.name")
ADDITIONAL OS VERSION INFORMATION :
Windows 10 Pro
A DESCRIPTION OF THE PROBLEM :
After upgrade from Windows 8.1 to Windows 10, the getProperty("os.name") command still returned previous version (8.1)
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-8066504 GetVersionEx in java.base/windows/native/libjava/java_props_md.c might not get correct Windows version
- Resolved