63ade9c49c
Implemented minimal necessary cycle detection to avoid stack overflow in c.s.t.j.code.Types::asSuper Reviewed-by: vromero
13 lines
271 B
Java
13 lines
271 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 8236697
|
|
* @summary Stack overflow with cyclic hierarchy in class file
|
|
* @build Cyclic
|
|
* @compile/fail/ref=T8236697.out -XDrawDiagnostics T8236697.java
|
|
*/
|
|
interface T8236697 extends Iterable {
|
|
|
|
public Cyclic iterator();
|
|
|
|
}
|