/* * @test /nodynamiccopyright/ * @bug 4851039 * @summary explicit type arguments * @author gafter * * @compile/fail/ref=Superarg1.out -XDrawDiagnostics Superarg1.java */ // Test type mismatch on type argument for super constructor class T { class U extends T { U() { super(""); } U(int i) { this(); } } class V extends U { V(T t) { t.super(); } } T(A a) { } void f() { this.f(); } }