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.)

Comment #1 by greenrd@greenrd.org on 2005-07-21 23:12:25

Created an attachment (id=7)
test case

Comment #2 by twisti@complang.tuwien.ac.at on 2005-07-28 22:00:10

The OOM stacktrace printing bug is fixed. The real bug needs more attention. But
this is a showstopper for jetty, so it's important.

Comment #3 by twisti@complang.tuwien.ac.at on 2005-12-11 02:28:21

This bug is fixed.  Jetty works now.

Attachment id=7

date:2005-07-21 23:12
desc:test case
type:text/x-java
download:EvalError.java