langtools/test/tools/javac/6863465/T6863465d.java
author juh
Tue, 25 Jun 2013 14:31:29 -0700
changeset 18551 882a3948c6e6
parent 6711 fc9732adc790
permissions -rw-r--r--
8017325: Cleanup of the javadoc <code> tag in java.security.cert Summary: Convert javadoc <code>...</code> and <tt>...</tt> tags to {@code ...} Reviewed-by: darcy
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6711
fc9732adc790 6863465: javac doesn't detect circular subclass dependencies via qualified names
mcimadamore
parents:
diff changeset
     1
/**
fc9732adc790 6863465: javac doesn't detect circular subclass dependencies via qualified names
mcimadamore
parents:
diff changeset
     2
 * @test /nodynamiccopyright/
fc9732adc790 6863465: javac doesn't detect circular subclass dependencies via qualified names
mcimadamore
parents:
diff changeset
     3
 * @bug     6863465
fc9732adc790 6863465: javac doesn't detect circular subclass dependencies via qualified names
mcimadamore
parents:
diff changeset
     4
 * @summary javac doesn't detect circular subclass dependencies via qualified names
fc9732adc790 6863465: javac doesn't detect circular subclass dependencies via qualified names
mcimadamore
parents:
diff changeset
     5
 * @author  Maurizio Cimadamore
fc9732adc790 6863465: javac doesn't detect circular subclass dependencies via qualified names
mcimadamore
parents:
diff changeset
     6
 * @compile/fail/ref=T6863465d.out -XDrawDiagnostics T6863465d.java
fc9732adc790 6863465: javac doesn't detect circular subclass dependencies via qualified names
mcimadamore
parents:
diff changeset
     7
 */
fc9732adc790 6863465: javac doesn't detect circular subclass dependencies via qualified names
mcimadamore
parents:
diff changeset
     8
fc9732adc790 6863465: javac doesn't detect circular subclass dependencies via qualified names
mcimadamore
parents:
diff changeset
     9
class T6863465d {
fc9732adc790 6863465: javac doesn't detect circular subclass dependencies via qualified names
mcimadamore
parents:
diff changeset
    10
    static class a { static interface b { static interface d {} } }
fc9732adc790 6863465: javac doesn't detect circular subclass dependencies via qualified names
mcimadamore
parents:
diff changeset
    11
    static class c extends a implements z.y, z.d {}
fc9732adc790 6863465: javac doesn't detect circular subclass dependencies via qualified names
mcimadamore
parents:
diff changeset
    12
    static class x { static interface y { static interface w {} } }
fc9732adc790 6863465: javac doesn't detect circular subclass dependencies via qualified names
mcimadamore
parents:
diff changeset
    13
    static class z extends x implements c.b, c.w {}
fc9732adc790 6863465: javac doesn't detect circular subclass dependencies via qualified names
mcimadamore
parents:
diff changeset
    14
}