mcimadamore@299: /* jjg@384: * @test /nodynamiccopyright/ mcimadamore@299: * @bug 6638712 6730468 mcimadamore@299: * @author mcimadamore mcimadamore@299: * @summary Inference with wildcard types causes selection of inapplicable method mcimadamore@299: * @compile/fail/ref=T6638712d.out -XDrawDiagnostics T6638712d.java mcimadamore@299: */ mcimadamore@299: mcimadamore@299: import java.util.*; mcimadamore@299: mcimadamore@299: public class T6638712d { mcimadamore@299: mcimadamore@299: U m(U u, List> list) { return null; } mcimadamore@299: mcimadamore@299: void test(List> lls) { mcimadamore@299: m(1, lls); mcimadamore@299: } mcimadamore@299: }