/* * @test /nodynamiccopyright/ * @bug 8039214 * @summary Capture variable as an inference variable's lower bound * @compile CaptureLowerBound.java * @compile/fail/ref=CaptureLowerBound7.out -Xlint:-options -source 7 -XDrawDiagnostics CaptureLowerBound.java */ public class CaptureLowerBound { interface I {} static class C implements I {} void m(I arg) {} void test(C arg) { m(arg); } }