mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00

Improving error recovery in JavacParser by avoiding artificial nextToken in JavacParser.reportSyntaxError. Co-authored-by: Dusan Balek <dusan.balek@oracle.com> Reviewed-by: jjg, jfranck
6 lines
341 B
Text
6 lines
341 B
Text
ErroneousParameters.java:10:36: compiler.err.varargs.must.be.last
|
|
ErroneousParameters.java:11:39: compiler.err.expected3: ',', ')', '['
|
|
ErroneousParameters.java:12:40: compiler.err.illegal.start.of.type
|
|
ErroneousParameters.java:13:41: compiler.err.expected: ']'
|
|
ErroneousParameters.java:14:38: compiler.err.expected3: ',', ')', '['
|
|
5 errors
|