During the review for the fix for JDK-8055074, it was suggested by Jon to request further investigation on whether error recovery can be improved 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 investigate if second error message can be removed for this test.
golden file:
BadHexConstant.java:12:14: compiler.err.invalid.hex.number
BadHexConstant.java:12:17: compiler.err.expected: token.identifier
2 errors
Please investigate if second error message can be removed for this test.
- duplicates
-
JDK-8056897 Improve error recovery for empty binary and hexadecimal literals.
- Closed