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

Improve error recovery for empty binary and hexadecimal literals.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • 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.

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

              Created:
              Updated:
              Resolved: