-
Bug
-
Resolution: Fixed
-
P2
-
6u14
-
b55
-
generic
-
windows_vista
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2174558 | 6u14 | Abhijit Saha | P1 | Resolved | Fixed | b04 |
JDK-2174585 | OpenJDK6 | Joe Darcy | P3 | Resolved | Fixed | b16 |
JDK-2174566 | 5.0u19 | Abhijit Saha | P2 | Resolved | Fixed | b01 |
JDK-2174567 | 1.4.2_21 | Abhijit Saha | P2 | Resolved | Fixed | b02 |
FULL PRODUCT VERSION :
java version "1.6.0_14-ea"
Java(TM) SE Runtime Environment (build 1.6.0_14-ea-b03)
Java HotSpot(TM) Client VM (build 14.0-b12, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows 7 Ultimate x64, build 7057
A DESCRIPTION OF THE PROBLEM :
The name of the operating system is reported by System.getProperty ("os.version") as "Windows Vista" but it must be "Windows 7".
The same bug can be seen in recent builds of JDK 5.0 and JDK 6.0.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
OS = Windows 7
ACTUAL -
OS = Windows Vista
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
class OSVersion {
public static void main(String[] args) {
System.out.println ("OS =" + System.getProperty ("os.name"));
}
}
---------- END SOURCE ----------
java version "1.6.0_14-ea"
Java(TM) SE Runtime Environment (build 1.6.0_14-ea-b03)
Java HotSpot(TM) Client VM (build 14.0-b12, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows 7 Ultimate x64, build 7057
A DESCRIPTION OF THE PROBLEM :
The name of the operating system is reported by System.getProperty ("os.version") as "Windows Vista" but it must be "Windows 7".
The same bug can be seen in recent builds of JDK 5.0 and JDK 6.0.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
OS = Windows 7
ACTUAL -
OS = Windows Vista
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
class OSVersion {
public static void main(String[] args) {
System.out.println ("OS =" + System.getProperty ("os.name"));
}
}
---------- END SOURCE ----------
- backported by
-
JDK-2174558 System.getProperty("os.name") reports Vista on Windows 7
- Resolved
-
JDK-2174566 System.getProperty("os.name") reports Vista on Windows 7
- Resolved
-
JDK-2174567 System.getProperty("os.name") reports Vista on Windows 7
- Resolved
-
JDK-2174585 System.getProperty("os.name") reports Vista on Windows 7
- Resolved
- relates to
-
JDK-6820180 VM error log needs to report Windows 7 OS
- Closed
-
JDK-6821003 Update hotspot windows os_win32 for windows 7
- Closed
(1 relates to)