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

Request to update error recovery messages for test cases as listed in tools/javac/BreakAcrossClass.java

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • 9
    • 9
    • tools
    • None

      During the review for the fix for JDK-8055074, Jon suggested to request improvement in error message recovery for test: tools/javac/BreakAcrossClass.java. The test was written for fix for JDK-4407643 when javac throws NPE for break to label outside of class

      golden file:
      BreakAcrossClass.java:16:33: compiler.err.undef.label: M
      1 error

            mcimadamore Maurizio Cimadamore
            sogoel Sonali Goel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: