Improve error recovery for empty binary and hexadecimal literals.

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: tools
    • b102
    • Verified

      During the review for the fix for JDK-8055074, Jon suggested to request further investigation for error recovery for test: tools/javac/BadHexConstant.java

      golden file:
      BadHexConstant.java:12:14: compiler.err.invalid.hex.number
      BadHexConstant.java:12:17: compiler.err.expected: token.identifier
      2 errors

      Please see if second error message can be removed.

            Assignee:
            Jan Lahoda
            Reporter:
            Sonali Goel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: