Skip to content

Commit

Permalink
8259869: [macOS] Remove desktop module dependencies on JNF Reference …
Browse files Browse the repository at this point in the history
…APIs (follow up)
  • Loading branch information
Vladimir Kempik authored and vprovodin committed Aug 23, 2021
1 parent a391d42 commit 34810c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ - (void) checkBlockingAndOrder {
AWT_ASSERT_APPKIT_THREAD;

JNIEnv *env = [ThreadUtilities getJNIEnv];
jobject platformWindow = [self.javaPlatformWindow jObjectWithEnv:env];
jobject platformWindow = (*env)->NewLocalRef(env, self.javaPlatformWindow);
if (platformWindow != NULL) {
GET_CPLATFORM_WINDOW_CLASS();
DECLARE_METHOD(jm_checkBlockingAndOrder, jc_CPlatformWindow, "checkBlockingAndOrder", "()V");
Expand Down

0 comments on commit 34810c0

Please sign in to comment.