mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
11 lines
298 B
Java
11 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 {}
|