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
mcimadamore@122 | 1 | Unchecked.java:16:9: compiler.warn.raw.class.use: java.util.List, java.util.List<E> |
duke@1 | 2 | Unchecked.java:17:14: compiler.warn.unchecked.call.mbr.of.raw.type: add(E), java.util.List |
mcimadamore@122 | 3 | Unchecked.java:26:9: compiler.warn.raw.class.use: java.util.List, java.util.List<E> |
mcimadamore@122 | 4 | Unchecked.java:35:9: compiler.warn.raw.class.use: java.util.List, java.util.List<E> |
mcimadamore@122 | 5 | Unchecked.java:46:21: compiler.warn.raw.class.use: java.util.List, java.util.List<E> |
mcimadamore@122 | 6 | Unchecked.java:57:9: compiler.warn.raw.class.use: java.util.List, java.util.List<E> |
duke@1 | 7 | Unchecked.java:58:14: compiler.warn.unchecked.call.mbr.of.raw.type: add(E), java.util.List |
mcimadamore@122 | 8 | 7 warnings |