Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2005 09:19:41 +1000
From:      Steve Joynt <steve.joynt@gmail.com>
To:        freebsd-java@freebsd.org
Subject:   Re: "An unexpected error" when i run class with constructor creatingitself. (jdk1.5.0-p2)
Message-ID:  <17dbe5f00510231619u1eb684bat@mail.gmail.com>
In-Reply-To: <17dbe5f00510231618g5e53edebt@mail.gmail.com>
References:  <426b510c0510230351k718c38ffr43273a31204414e6@mail.gmail.com> <djg3he$k0q$1@sea.gmane.org> <17dbe5f00510231618g5e53edebt@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 24/10/05, Manfred Riem <mriem@manorrock.org> wrote:
> This is a completely normal error. You are recursive constructing an obje=
ct
> in the constructor. This will always generate a StackOverflowError. Since
> you are not catching Errors the VM can have a default implementation that
> prints out a message (just like it does).

I think his point is that in jdk1.4.2-p7 it prints out the
StackOverflowError message as expected, but in jdk1.5.0-p2 it core
dumps.

- steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17dbe5f00510231619u1eb684bat>