-
Bug
-
Resolution: Unresolved
-
P5
-
9
During work on JDK-8055783 for creation of golden files for negative tests, error messages reported for tools/javac/VoidArray.java showed a parser issue in error recovery when 'void' is used in expression mode.
Error keys:
+VoidArray.java:12:9: compiler.err.expected: token.identifier
+VoidArray.java:12:13: compiler.err.expected: token.identifier
+VoidArray.java:14:9: compiler.err.expected: token.identifier
+VoidArray.java:14:12: compiler.err.invalid.meth.decl.ret.type.req
+VoidArray.java:14:24: compiler.err.expected: token.identifier
+VoidArray.java:14:28: compiler.err.expected3: ',', ')', '['
+6 errors
The fix for this should reduce the number of error messages for this test case. Once this issue is fixed, please update the corresponding VoidArray.out for error messages.
Error keys:
+VoidArray.java:12:9: compiler.err.expected: token.identifier
+VoidArray.java:12:13: compiler.err.expected: token.identifier
+VoidArray.java:14:9: compiler.err.expected: token.identifier
+VoidArray.java:14:12: compiler.err.invalid.meth.decl.ret.type.req
+VoidArray.java:14:24: compiler.err.expected: token.identifier
+VoidArray.java:14:28: compiler.err.expected3: ',', ')', '['
+6 errors
The fix for this should reduce the number of error messages for this test case. Once this issue is fixed, please update the corresponding VoidArray.out for error messages.
- relates to
-
JDK-8043283 Create .out files for negative tests in langtools regression ws
- Resolved