test/tools/javac/6863465/T6863465d.java

changeset 0
959103a6100f
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/tools/javac/6863465/T6863465d.java	Wed Apr 27 01:34:52 2016 +0800
     1.3 @@ -0,0 +1,14 @@
     1.4 +/**
     1.5 + * @test /nodynamiccopyright/
     1.6 + * @bug     6863465
     1.7 + * @summary javac doesn't detect circular subclass dependencies via qualified names
     1.8 + * @author  Maurizio Cimadamore
     1.9 + * @compile/fail/ref=T6863465d.out -XDrawDiagnostics T6863465d.java
    1.10 + */
    1.11 +
    1.12 +class T6863465d {
    1.13 +    static class a { static interface b { static interface d {} } }
    1.14 +    static class c extends a implements z.y, z.d {}
    1.15 +    static class x { static interface y { static interface w {} } }
    1.16 +    static class z extends x implements c.b, c.w {}
    1.17 +}

mercurial