[9] RFR: 8170465, 8170466: JNI exception pending in jni_util.c:190

Naoto Sato naoto.sato at oracle.com
Wed Dec 7 00:02:35 UTC 2016


Hello,

Please review the proposed fix to the following issues:

https://bugs.openjdk.java.net/browse/JDK-8170465
https://bugs.openjdk.java.net/browse/JDK-8170466

The proposed fix is located at:

http://cr.openjdk.java.net/~naoto/8170465.8170466/webrev.00/

These two JNI calls (NewStringUTF() and JNU_CallMethodByName()) in 
src/java.base/share/native/libjava/jni_util.c can throw an exception. 
Those possible exceptions need to be properly checked.

Naoto


More information about the core-libs-dev mailing list