BZ #8: Infinite loading loop when exception class contains method that throws itself
Status fields:
| creation_ts: | 2005-07-21 23:10 |
| component: | vm |
| version: | unspecified |
| rep_platform: | i386 |
| op_sys: | Linux |
| bug_status: | RESOLVED |
| resolution: | FIXED |
| reporter: | greenrd@greenrd.org |
Attached test case EvalError is a subclass of Exception, that contains a method,
which throws EvalError. This legal cyclic reference causes an infinite loop in
cacao cvs when the class is loaded (e.g. with cacao -verbose EvalError).
(Note: After some time, this infinite loop causes an OutOfMemoryError, which
causes an abort due to a different bug, a stacktrace printing bug. That bug
might also be worth fixing.)
Attachment id=7
| date: | 2005-07-21 23:12 |
| desc: | test case |
| type: | text/x-java |
| download: | EvalError.java |