2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2015-05-15 08:09:51 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2007-12-01 00:00:00 +00:00
|
|
|
* @bug 4500240
|
|
|
|
* @summary javac throws StackOverflowError for recursive inheritance
|
|
|
|
*
|
|
|
|
* @compile ClassCycle1a.java
|
2015-05-15 08:09:51 +00:00
|
|
|
* @compile/fail/ref=ClassCycle1a.out -XDrawDiagnostics ClassCycle1b.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
interface ClassCycle1b {}
|
|
|
|
interface ClassCycle1a extends ClassCycle1b {}
|