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

MAC: CR 7130404 affected SA on Mac OSX so now BSD provider can't recognize cpu arch

    Details

    • Subcomponent:
      svc
    • Introduced In Version:
    • Resolved In Build:
      b12
    • CPU:
      x86
    • OS:
      os_x
    • Verification:
      Verified

      Backports

        Description

        After CR 7130404 'os.arch' value for JDK 7u5 b02 on macosx became x86_64, but BSD provider rejects any attempts to setup debugger if cpu is not 'x86' or 'amd64':

        /export/jdk/jdk1.7.0_05b02/bin/jstack -m $PID
        Attaching to process ID 63355, please wait...
        Error attaching to process: Bsd only supported on x86/amd64

        but with JDK 7u5 b01:
        /export/jdk/jdk1.7.0_05b02/bin/jstack -m $PID
        Attaching to process ID 63355, please wait...
        attach: task_for_pid(63355) failed (5)
        Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process

        Issue was first introduced in JDK 7u4-b20.

        In case if BSD SA provider will be used with macosx it should recognize x86_64 cpu arch name.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  nloodin Nils Loodin (Inactive)
                  Reporter:
                  fzhinkin Filipp Zhinkin
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: