< prev index next >

modules/javafx.graphics/src/main/native-glass/mac/GlassApplication.m

Print this page

        

@@ -706,10 +706,14 @@
 {
     isFullScreenExitingLoop = YES;
     GET_MAIN_JENV;
     (*env)->CallStaticObjectMethod(env, jApplicationClass,
             javaIDs.Application.enterNestedEventLoop);
+    if ((*env)->ExceptionCheck(env) == JNI_TRUE) {
+        (*env)->ExceptionDescribe(env);
+        (*env)->ExceptionClear(env);
+    }
     isFullScreenExitingLoop = NO;
 }
 
 + (void)leaveFullScreenExitingLoopIfNeeded
 {
< prev index next >