test/tools/javac/T6326754.out

Thu, 06 Jun 2013 15:33:40 +0100

author
mcimadamore
date
Thu, 06 Jun 2013 15:33:40 +0100
changeset 1811
349160289ba2
parent 1352
d4b3cb1ece84
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8008627: Compiler mishandles three-way return-type-substitutability
Summary: Compiler should not enforce an order in how ambiguous methods should be resolved
Reviewed-by: jjg, vromero

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)
mcimadamore@1296 3 T6326754.java:64:18: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: T, T)
mcimadamore@1352 4 T6326754.java:70:11: compiler.err.cant.apply.symbol: 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