langtools/test/tools/javac/CyclicInheritance.java
changeset 863 3113c955a388
parent 10 06bc494ca11e
child 6150 d055fa8ced62
equal deleted inserted replaced
862:44f1d401c8f5 863:3113c955a388
     2  * @test  /nodynamiccopyright/
     2  * @test  /nodynamiccopyright/
     3  * @bug 4018525 4059072 4277274 4785453
     3  * @bug 4018525 4059072 4277274 4785453
     4  * @summary Test that recursive 'extends' and 'implements' clauses are detected
     4  * @summary Test that recursive 'extends' and 'implements' clauses are detected
     5  * and disallowed.
     5  * and disallowed.
     6  *
     6  *
     7  * @run shell CyclicInheritance.sh
     7  * @compile/fail/ref=CyclicInheritance.out -XDrawDiagnostics -XDstdout CyclicInheritance.java
     8  */
     8  */
     9 
     9 
    10 
    10 
    11 
    11 
    12 
    12