jdk-24/test/langtools/tools/javac/ClassCycle/ClassCycle3a.java
2017-09-12 19:03:39 +02:00

12 lines
298 B
Java

/*
* @test /nodynamiccopyright/
* @bug 4497044
* @summary java.lang.StackOverflowError for cyclic inheritance
*
* @compile ClassCycle3a.java
* @compile/fail/ref=ClassCycle3a.out -XDrawDiagnostics ClassCycle3b.java
*/
interface ClassCycle3b {}
class ClassCycle3a implements ClassCycle3b {}