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

Reviewed-by: alanb, weijun
This commit is contained in:
Viktor Dukhovni 2018-10-16 09:19:32 +08:00 committed by Weijun Wang
parent ffc26adbea
commit 2a10506942

View File

@ -145,7 +145,7 @@ DEF_JNI_OnLoad(JavaVM *jvm, void *reserved) {
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");