langtools/test/tools/javac/6863465/T6863465c.java
author jeff
Wed, 22 Jun 2011 10:10:54 -0700
changeset 9916 c35ecac744a5
parent 6711 fc9732adc790
permissions -rw-r--r--
7057046: Add embedded license to THIRD PARTY README Reviewed-by: lana

/**
 * @test /nodynamiccopyright/
 * @bug     6863465
 * @summary javac doesn't detect circular subclass dependencies via qualified names
 * @author  Maurizio Cimadamore
 * @compile/fail/ref=T6863465c.out -XDrawDiagnostics T6863465c.java
 */

class T6863465c {
    static class x { static interface y {} }
    static class z extends x implements c.b {}
    static class a { static interface b { static interface d {} } }
    static class c extends a implements z.y, z.d {}
}