test/tools/javac/quid/T6999438.out

Fri, 28 Jan 2011 12:01:07 +0000

author
mcimadamore
date
Fri, 28 Jan 2011 12:01:07 +0000
changeset 844
2088e674f0e0
parent 752
03177f49411d
child 1145
3343b22e2761
permissions
-rw-r--r--

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

     1 T6999438.java:8:9: compiler.err.illegal.char: 35
     2 T6999438.java:8:10: compiler.err.illegal.start.of.type
     3 T6999438.java:8:25: compiler.err.expected: token.identifier
     4 T6999438.java:8:26: compiler.err.expected: ';'
     5 T6999438.java:9:2: compiler.err.premature.eof
     6 5 errors

mercurial