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

Clear potential exception when reporting exceptions from JNI Glass

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:
      None

      Description


      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;

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: