/* * @test /nodynamiccopyright/ * @bug 6932571 * @summary Compiling Generics causing Inconvertible types * @compile/fail/ref=T6932571neg.out -XDrawDiagnostics T6932571neg.java */ class T6932571neg { interface I{ } interface I1 extends I {} static class Y implements I {} final static class S implements I {} > void test() { S s = new S(); G g = (G) s; } }