Fri, 28 Jan 2011 12:01:07 +0000
6910550: javac 1.5.0_17 fails with incorrect error message
Summary: multiple clashing members declared in same class should be added to the class' scope in order to avoid downstream spurious diagnostics
Reviewed-by: jjg
jjg@752 | 1 | T6999438.java:8:9: compiler.err.illegal.char: 35 |
jjg@752 | 2 | T6999438.java:8:10: compiler.err.illegal.start.of.type |
jjg@752 | 3 | T6999438.java:8:25: compiler.err.expected: token.identifier |
jjg@752 | 4 | T6999438.java:8:26: compiler.err.expected: ';' |
jjg@752 | 5 | T6999438.java:9:2: compiler.err.premature.eof |
jjg@752 | 6 | 5 errors |