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
305 B
Java
11 lines
305 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 4500240
|
|
* @summary javac throws StackOverflowError for recursive inheritance
|
|
*
|
|
* @compile ClassCycle1a.java
|
|
* @compile/fail/ref=ClassCycle1a.out -XDrawDiagnostics ClassCycle1b.java
|
|
*/
|
|
|
|
interface ClassCycle1b {}
|
|
interface ClassCycle1a extends ClassCycle1b {}
|