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 ClassCycle2a.java
|
2015-05-15 08:09:51 +00:00
|
|
|
* @compile/fail/ref=ClassCycle2a.out -XDrawDiagnostics ClassCycle2b.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
class ClassCycle2b {}
|
|
|
|
class ClassCycle2a extends ClassCycle2b {}
|