JDK-7163117 : MAC: CR 7130404 affected SA on Mac OSX so now BSD provider can't recognize cpu arch
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: hs23,7u4
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2012-04-20
  • Updated: 2014-07-21
  • Resolved: 2012-05-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 Other
7u40Fixed 8Fixed hs23.2Fixed
Related Reports
Duplicate :  
Relates :  
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.

Comments
EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/78d2ae5ab35b
29-06-2012

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/78d2ae5ab35b
23-05-2012

EVALUATION http://hg.openjdk.java.net/hsx/hsx23.2/hotspot/rev/1fcba869fe4a
10-05-2012

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/78d2ae5ab35b
09-05-2012