mcimadamore@299: /* jjg@384: * @test /nodynamiccopyright/ mcimadamore@299: * @bug 6638712 mcimadamore@299: * @author mcimadamore mcimadamore@299: * @summary Inference with wildcard types causes selection of inapplicable method mcimadamore@299: * @compile/fail/ref=T6638712b.out -XDrawDiagnostics T6638712b.java mcimadamore@299: */ mcimadamore@299: mcimadamore@299: class T6638712b { mcimadamore@299: mcimadamore@299: , T> T m(I test) { return null; } mcimadamore@299: mcimadamore@299: void test(T6638712b x) { mcimadamore@299: String i = m(x); mcimadamore@299: } mcimadamore@299: }