Codereview request for 7171184: Make the failure message in 7168110 more specific

Rob McKenna rob.mckenna at oracle.com
Wed May 23 10:44:38 PDT 2012


Hi folks,

David Holmes suggested a rewrite of the original bug (7168110) so I've 
put together the following:

http://cr.openjdk.java.net/~robm/7171184/webrev.01/

It will narrow down the cause of the error and return a more specific 
message when there is a problem attaching jstack to a process created in 
another session.

Let me know what you think,

     -Rob

-------- Original Message --------
Subject: 	Codereview request for 7168110: Misleading jstack error message
Date: 	Thu, 17 May 2012 16:50:01 +0100
From: 	Rob McKenna <rob.mckenna at oracle.com>
To: 	serviceability-dev at openjdk.java.net 
<serviceability-dev at openjdk.java.net>



Hi folks,

A straightforward enough fix for an issue whereby windows sees fit to
return a cryptic error message when attempting to run jstack on a
process created in another terminal session.

As per the webrev, see the remarks section at:

http://msdn.microsoft.com/en-us/library/ms682437%28VS.85%29.aspx

Webrev at:

http://cr.openjdk.java.net/~robm/7168110/webrev.01/

Thanks!

     -Rob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20120523/966e4356/attachment.html 


More information about the serviceability-dev mailing list