8212165: JGSS: Fix cut/paste error in NativeUtil.c
Reviewed-by: alanb, weijun
Contributed-by: Viktor Dukhovni <viktor@twosigma.com>
--- a/src/java.security.jgss/share/native/libj2gss/NativeUtil.c Mon Oct 15 21:02:17 2018 -0400
+++ b/src/java.security.jgss/share/native/libj2gss/NativeUtil.c Tue Oct 16 09:19:32 2018 +0800
@@ -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");