RFR(S): JDK-8231287: JMap should do a better job of reporting exception it catches

Chris Plummer chris.plummer at oracle.com
Fri Sep 27 20:29:34 UTC 2019


Hello,

Please review the following:

https://bugs.openjdk.java.net/browse/JDK-8231287
http://cr.openjdk.java.net/~cjplummer/8231287/webrev.00

Basically no longer have jmap consume and hide exceptions that are 
thrown, and have all tools catch and print any exception that is 
propagated to Tools.execute(). The CR contains more details.

Tested with the following:

   :hotspot_serviceability
   :jdk_svc
   :vmTestbase_nsk_jdi
   :vmTestbase_nsk_jvmti
   :vmTestbase_nsk_jdwp
   :vmTestbase_nsk_jdb

thanks,

Chris



More information about the serviceability-dev mailing list