test/tools/javac/warnings/Unchecked.lintAll.out

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

author
mcimadamore
date
Fri, 28 Jan 2011 12:01:07 +0000
changeset 844
2088e674f0e0
parent 122
1a9276e7cb18
child 2525
2eb010b6cb22
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

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

mercurial