test/tools/javac/6304921/T6304921.out

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

author
mcimadamore
date
Fri, 28 Jan 2011 12:01:07 +0000
changeset 844
2088e674f0e0
parent 829
ce6175cfe11e
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@288 1 T6304921.java:29:34: compiler.warn.raw.class.use: java.util.ArrayList, java.util.ArrayList<E>
mcimadamore@288 2 T6304921.java:29:30: compiler.warn.prob.found.req: (compiler.misc.unchecked.assign), java.util.ArrayList, java.util.List<java.lang.Integer>
mcimadamore@288 3 - compiler.err.warnings.and.werror
mcimadamore@829 4 T6304921.java:35:15: compiler.err.cant.resolve.location: kindname.variable, orr, , , (compiler.misc.location: kindname.class, java.lang.System, null)
mcimadamore@829 5 T6304921.java:38:20: compiler.err.operator.cant.be.applied.1: +, int, boolean
jjg@215 6 3 errors
jjg@215 7 2 warnings

mercurial