test/tools/javac/T6326754.out

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

author
mcimadamore
date
Fri, 28 Jan 2011 12:01:07 +0000
changeset 844
2088e674f0e0
parent 689
77cc34d5e548
child 1238
e28a06a3c5d9
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

jjg@464 1 T6326754.java:44:12: compiler.err.name.clash.same.erasure: TestConstructor(T), TestConstructor(K)
jjg@464 2 T6326754.java:52:17: compiler.err.name.clash.same.erasure: setT(K), setT(T)
jjg@464 3 T6326754.java:64:18: compiler.err.prob.found.req: (compiler.misc.incompatible.types), T, T
mcimadamore@689 4 T6326754.java:70:11: compiler.err.cant.apply.symbol.1: kindname.method, setT, java.lang.Object, compiler.misc.no.args, kindname.class, TestC<T>, (compiler.misc.arg.length.mismatch)
jjg@464 5 - compiler.note.unchecked.filename: T6326754.java
jjg@464 6 - compiler.note.unchecked.recompile
jjg@464 7 4 errors

mercurial