Thu, 25 Jul 2013 14:51:40 +0100
8020843: javac crashes on accessibility check with method reference with typevar receiver
Summary: method reference overload check doesn't walk through type-variable receivers
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) |
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 |