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
1 T6231847.java:15:21: compiler.err.anon.class.impl.intf.no.typeargs
2 T6231847.java:16:30: compiler.err.anon.class.impl.intf.no.args
3 T6231847.java:17:16: compiler.err.anon.class.impl.intf.no.qual.for.new
4 T6231847.java:18:16: compiler.err.anon.class.impl.intf.no.qual.for.new
5 T6231847.java:18:41: compiler.err.anon.class.impl.intf.no.args
6 T6231847.java:18:23: compiler.err.anon.class.impl.intf.no.typeargs
7 T6231847.java:19:16: compiler.err.qualified.new.of.static.class: T6231847.T6231847C
8 T6231847.java:19:34: compiler.err.illegal.qual.not.icls: T6231847.T6231847C
9 8 errors