-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
9
During work for JDK-8068463 for creation of golden files for negative tests, it was discovered that the error diagnostic was suboptimal and should be updated for error case when annotation type element value is not specified and default value is also not available
Test:
tools/javac/annotations/default/Derr.java
Current error key:
compiler.err.annotation.missing.default.value: A, x
Expected error message:
No value provided for x, and no default value available
Test:
tools/javac/annotations/default/Derr.java
Current error key:
compiler.err.annotation.missing.default.value: A, x
Expected error message:
No value provided for x, and no default value available
- relates to
-
JDK-8043283 Create .out files for negative tests in langtools regression ws
-
- Resolved
-