Bug: Infinite loop in redeclare by cross reference

ShinyaYoshida bitterfoxc at gmail.com
Wed Jun 3 09:40:15 UTC 2015


Hi Robert,
I found the infinite loop situation:
-> class C {}
-> class D {C c;}

-> class C {D d;}
^- Infinite loop by cross reference - StackOverflowException

I filed this issue:
https://bugs.openjdk.java.net/browse/JDK-8081796

Test case will be such as:
assertEval1("class C {}");
assertEval1("class D {C c;}");
assertEval1("class C {D d;}");
assertEval1("new D().c = new C()");
assertEval1("new C().d = new D()");

Regards,
shinyafox(Shinya Yoshida)


More information about the kulla-dev mailing list