RFR: 8031588 warnings from b03 for jdk/src/share/native/sun/security/jgss/wrapper: JNI exception pending
Michael McMahon
michael.x.mcmahon at oracle.com
Thu Feb 6 09:57:20 UTC 2014
Hi,
This is a fix adding some checks for pending exceptions in the JGSS
native code.
All of these cases could only practically happen in case of
OutOfMemoryError.
There are a couple of places where the JNI spec isn't completely clear
whether
the exception will be thrown. In those cases, we check for an exception
and throw
OOME if none is pending.
http://cr.openjdk.java.net/~michaelm/8031588/webrev.1/
Thanks,
Michael
More information about the security-dev
mailing list