Authors: russell@unturf.com · brackishbert@gmail.com · foxhop.net · TimeHexOn.com Patches, unit tests, benchmarks, whitepaper, and outreach briefs. Public domain — no copyright claimed. Use freely.
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 {}
|