code review for jps fix (6637230)

Dmitry Samersoff Dmitry.Samersoff at oracle.com
Sat Feb 12 01:38:53 PST 2011


Dan,

Looks OK for me.

+
+                    // leading blank not needed here because of the
+                    // next append() call
+                    errorString = "-- main class information unavailable";
+                    output.append(" ");
+                    output.append(MonitoredVmUtil.mainClass(vm,
+                            arguments.showLongPaths()));

May be it could be done as (below)
to keep errorString uniform:

errorString = "  -- main class information
String s = MonitoredVmUtil.mainClass(vm,
                                 arguments.showLongPaths());
output.append(" ").append(s);

-Dmitry


On 2011-02-12 05:31, Daniel D. Daugherty wrote:
> Greetings,
>
> I have a fix for the following jps bug:
>
> 6637230: 2/3 jps doesn't work for application waiting for direct attach
> Summary: Properly handle exceptions thrown when querying a monitored VM.
> Reviewed-by:
>
> Here is the URL for the webrev:
>
> http://cr.openjdk.java.net/~dcubed/6637230-webrev/0/
>
> Thanks, in advance, for any reviews.
>
> Dan
>


-- 
Dmitry Samersoff
Java Hotspot development team, SPB04
* There will come soft rains ...


More information about the hotspot-runtime-dev mailing list