Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8154206

Clear potential exception when reporting exceptions from JNI Glass

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • None
    • javafx
    • None


      diff -r e23a4c128805 modules/graphics/src/main/native-glass/gtk/glass_general.cpp
      --- a/modules/graphics/src/main/native-glass/gtk/glass_general.cpp Mon Apr 11 11:04:19 2016 +1200
      +++ b/modules/graphics/src/main/native-glass/gtk/glass_general.cpp Wed Apr 13 17:25:55 2016 -0400
      @@ -432,6 +432,8 @@
           if (t) {
               env->ExceptionClear();
               env->CallStaticVoidMethod(jApplicationCls, jApplicationReportException, t);
      + //Clear in case our reporting upcall failed too!
      + env->ExceptionClear();
               return TRUE;
           }
           return FALSE;

            ddhill David Hill (Inactive)
            ddhill David Hill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: