RFR 8212165: JGSS: Fix cut/paste error in NativeUtil.c

Alan Bateman Alan.Bateman at oracle.com
Mon Oct 15 06:40:13 UTC 2018


On 15/10/2018 03:32, Weijun Wang wrote:
> Hi All
>
> Please take a review on a change in DEF_JNI_OnLoad of NativeUtil.c:
>
> *diff --git 
> a/src/java.security.jgss/share/native/libj2gss/NativeUtil.c 
> b/src/java.security.jgss/share/native/libj2gss/NativeUtil.c*
> *--- a/src/java.security.jgss/share/native/libj2gss/NativeUtil.c*
> *+++ b/src/java.security.jgss/share/native/libj2gss/NativeUtil.c*
> @@ -145,7 +145,7 @@
>   return JNI_ERR;
> }
> CLS_GSSNameElement = (*env)->NewGlobalRef(env, cls);
> - if (CLS_GSSException == NULL) {
> + if (CLS_GSSNameElement == NULL) {
>   return JNI_ERR;
> }
> cls = (*env)->FindClass(env, "sun/security/jgss/wrapper/GSSCredElement");
>
This looks okay to me.

-Alan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20181015/e6487a32/attachment.htm>


More information about the security-dev mailing list