javac, compiler crashes with try with empty body

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P1
    • 8
    • Affects Version/s: 8
    • Component/s: tools
    • None
    • b108
    • Verified

      This code provokes the compiler to crash with NPE:

      public class Test {
          void m() {
              try {}
              catch (Exception e) {}
          }
      }

            Assignee:
            Vicente Arturo Romero Zaldivar
            Reporter:
            Vicente Arturo Romero Zaldivar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: