/* * @test /nodynamiccopyright/ * @bug 6638712 * @author mcimadamore * @summary Inference with wildcard types causes selection of inapplicable method * @compile/fail/ref=T6638712a.out -XDrawDiagnostics T6638712a.java */ import java.util.*; class T6638712a { Comparator compound(Iterable> it) {} public void test(List> x) { Comparator c3 = compound(x); } }