Clear potential exception when reporting exceptions from JNI Glass

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: None
    • Component/s: 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;

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

              Created:
              Updated:
              Resolved: