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 4497044
|
|
|
|
* @summary java.lang.StackOverflowError for cyclic inheritance
|
|
|
|
*
|
|
|
|
* @compile ClassCycle3a.java
|
2015-05-15 08:09:51 +00:00
|
|
|
* @compile/fail/ref=ClassCycle3a.out -XDrawDiagnostics ClassCycle3b.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
interface ClassCycle3b {}
|
|
|
|
class ClassCycle3a implements ClassCycle3b {}
|