RFR: 8031588 warnings from b03 for jdk/src/share/native/sun/security/jgss/wrapper: JNI exception pending

Sean Mullan sean.mullan at oracle.com
Thu Feb 6 20:34:34 UTC 2014


Looks fine to me, Michael. Please add a noreg label to the bug.

--Sean

On 02/06/2014 04:57 AM, Michael McMahon wrote:
> 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