Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6750389

The cpuManufactorer does not correctly recognized for Solaris 10

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 6u7
    • Fix Version/s: 7
    • Component/s: install
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      b01
    • Introduced In Version:
      6u5
    • Resolved In Build:
      b43
    • CPU:
      x86
    • OS:
      solaris
    • Verification:
      Not verified

      Backports

        Description

        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".

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mchung Mandy Chung
                Reporter:
                mslamasunw Marek Slama (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: