-
Bug
-
Resolution: Fixed
-
P3
-
6u7
-
b01
-
b43
-
x86
-
solaris
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2168335 | 6u12 | Mandy Chung | P3 | Closed | Fixed | b01 |
Original report is at http://www.netbeans.org/issues/show_bug.cgi?id=143095
Once fixed please send me updated sources/diff so I can keep our private copy in sync.
Here is the code for Solaris CPU Manufacturer.
private String getSolarisCpuManufacturer() {
// not fully accurate, this could be another manufacturer (fujitsu for example)
if ("sparc".equalsIgnoreCase(System.getProperty("os.arch"))) {
return "Sun Microsystems, Inc";
}
// if we're here, then we'll try smbios (type 3)
return getSmbiosData("3", "Manufacturer: ");
}
However it is needed to check the paramter "4" to get CPU information.
-----------------
-->/usr/sbin/smbios -t 4
ID SIZE TYPE
4 66 SMB_TYPE_PROCESSOR (processor)
Manufacturer: AMD
Version: AMD
Location Tag: CPU1
..
I checked on "SunOS 5.11 snv_79 i86pc i386 i86pc".
Once fixed please send me updated sources/diff so I can keep our private copy in sync.
Here is the code for Solaris CPU Manufacturer.
private String getSolarisCpuManufacturer() {
// not fully accurate, this could be another manufacturer (fujitsu for example)
if ("sparc".equalsIgnoreCase(System.getProperty("os.arch"))) {
return "Sun Microsystems, Inc";
}
// if we're here, then we'll try smbios (type 3)
return getSmbiosData("3", "Manufacturer: ");
}
However it is needed to check the paramter "4" to get CPU information.
-----------------
-->/usr/sbin/smbios -t 4
ID SIZE TYPE
4 66 SMB_TYPE_PROCESSOR (processor)
Manufacturer: AMD
Version: AMD
Location Tag: CPU1
..
I checked on "SunOS 5.11 snv_79 i86pc i386 i86pc".
- backported by
-
JDK-2168335 The cpuManufactorer does not correctly recognized for Solaris 10
-
- Closed
-