RFR 8035829: [parfait] JNI exception pending in jdk/src/windows/native/sun/tools/attach/WindowsVirtualMachine.c

Jaroslav Bachorik jaroslav.bachorik at oracle.com
Fri Jul 18 11:44:42 UTC 2014


Please, review the following fix

Issue : https://bugs.openjdk.java.net/browse/JDK-8035829
Webrev: http://cr.openjdk.java.net/~jbachorik/8035829/webrev.00

This issue has been identified by Parfait static code analysis tool - 
there are missing checks for pending Java exceptions thrown from a 
native code. Any time a function can throw an exception the calling code 
must check for this eventuality.

Thanks,

-JB-


More information about the serviceability-dev mailing list