Skip to content

Commit

Permalink
JBR-3713 fix checkBlockingAndOrder signature in native invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
vprovodin committed Aug 31, 2021
1 parent 34810c0 commit 7e5bbc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,8 @@ - (void) checkBlockingAndOrder {
jobject platformWindow = (*env)->NewLocalRef(env, self.javaPlatformWindow);
if (platformWindow != NULL) {
GET_CPLATFORM_WINDOW_CLASS();
DECLARE_METHOD(jm_checkBlockingAndOrder, jc_CPlatformWindow, "checkBlockingAndOrder", "()V");
(*env)->CallVoidMethod(env, platformWindow, jm_checkBlockingAndOrder);
DECLARE_METHOD(jm_checkBlockingAndOrder, jc_CPlatformWindow, "checkBlockingAndOrder", "()Z");
(*env)->CallBooleanMethod(env, platformWindow, jm_checkBlockingAndOrder);
CHECK_EXCEPTION();
(*env)->DeleteLocalRef(env, platformWindow);
}
Expand Down

0 comments on commit 7e5bbc8

Please sign in to comment.