RFR(XS): 8013364 SA-JDI exceptions caused by lack of permissions on OSX should be more verbose about issue cause

Coleen Phillimore coleen.phillimore at oracle.com
Tue Apr 30 07:41:53 PDT 2013


Looks good to me.
Coleen

On 04/30/2013 02:32 AM, Rickard Bäckman wrote:
> Staffan,
>
> this change looks good. (Not a Reviewer).
>
> /R
>
> On Apr 29, 2013, at 4:40 PM, Staffan Larsen wrote:
>
>> Hi,
>>
>> This is an improvement to the error message the user receives when SA attach fails on OS X. The current message is:
>>
>>
>> attach: task_for_pid(13581) failed (5)
>> Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
>>
>>
>> This is changed to:
>>
>>
>> ERROR: attach: task_for_pid(89) failed: '(os/kern) failure' (5)
>> Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process. Could be caused by an incorrect pid or lack of privileges.
>>
>>
>> webrev: http://cr.openjdk.java.net/~sla/8013364/webrev.00/
>> bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8013364
>>
>> Thanks,
>> /Staffan



More information about the hotspot-runtime-dev mailing list