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 T6227617.java:14:18: compiler.warn.redundant.cast: int
2 T6227617.java:19:20: compiler.warn.redundant.cast: java.lang.String
3 T6227617.java:23:22: compiler.warn.redundant.cast: java.lang.Integer
4 T6227617.java:33:27: compiler.warn.redundant.cast: int
5 T6227617.java:36:29: compiler.warn.redundant.cast: java.lang.String
6 5 warnings