Skip to content

Commit

Permalink
8212165: JGSS: Fix cut/paste error in NativeUtil.c
Browse files Browse the repository at this point in the history
Backport-of: 2a10506
  • Loading branch information
GoeLin committed Jan 2, 2023
1 parent 7f2cea1 commit 4c2ff08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java.security.jgss/share/native/libj2gss/NativeUtil.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

1 comment on commit 4c2ff08

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.