test/tools/javac/T6326754.out

Mon, 26 Mar 2012 15:28:49 +0100

author
mcimadamore
date
Mon, 26 Mar 2012 15:28:49 +0100
changeset 1239
2827076dbf64
parent 1238
e28a06a3c5d9
child 1296
cddc2c894cc6
permissions
-rw-r--r--

7133185: Update 292 overload resolution logic to match JLS
Summary: Re-implement special overload resolution support for method handles according to the JLS SE 7 definition
Reviewed-by: jjg, dlsmith, jrose

     1 T6326754.java:44:12: compiler.err.name.clash.same.erasure: TestConstructor(T), TestConstructor(K)
     2 T6326754.java:52:17: compiler.err.name.clash.same.erasure: setT(K), setT(T)
     3 T6326754.java:64:18: compiler.err.prob.found.req: T, T
     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)
     5 - compiler.note.unchecked.filename: T6326754.java
     6 - compiler.note.unchecked.recompile
     7 4 errors

mercurial