-
Enhancement
-
Resolution: Fixed
-
P4
-
9
-
b24
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8056865 | emb-9 | Unassigned | P4 | Resolved | Fixed | b24 |
During the creation of golden files for negative unicode tests in langtools regression ws(JDK-8044080), it was seen that javac generates different error messages for similar tests. This difference in error generation needs further investigation.
Tests:
tools/javac/unicode/NonasciiDigit2.java
Error message:
NonasciiDigit.java:12:26: compiler.err.illegal.char: \uff11
1 error
Test:
tools/javac/unicode/NonasciiDigit.java
Error message:
NonasciiDigit2.java:12:18: compiler.err.illegal.nonascii.digit
1 error
Based on the review from Jon, the difference is arising from JavaTokenizer.scanFraction(). More information available in the review.
Tests:
tools/javac/unicode/NonasciiDigit2.java
Error message:
NonasciiDigit.java:12:26: compiler.err.illegal.char: \uff11
1 error
Test:
tools/javac/unicode/NonasciiDigit.java
Error message:
NonasciiDigit2.java:12:18: compiler.err.illegal.nonascii.digit
1 error
Based on the review from Jon, the difference is arising from JavaTokenizer.scanFraction(). More information available in the review.
- backported by
-
JDK-8056865 Further investigation needed for few error messages for negative unicode tests in langtools regression ws
-
- Resolved
-
- relates to
-
JDK-8043283 Create .out files for negative tests in langtools regression ws
-
- Resolved
-