This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: duplicate class registration fix?
- From: Jeff Sturm <jsturm at one-point dot com>
- To: nferrier at tapsellferrier dot co dot uk
- Cc: java at gcc dot gnu dot org
- Date: Mon, 4 Nov 2002 11:34:33 -0500 (EST)
- Subject: Re: duplicate class registration fix?
On 4 Nov 2002 nferrier@tapsellferrier.co.uk wrote:
> Perhaps someone who knows about GCJ might spot why the above would be
> a bad thing to do?
Here's a pointer to the original discussion.
http://gcc.gnu.org/ml/java/2001-08/msg00133.html
Besides the infinite loop there are other pitfalls. I don't know if ld.so
makes any guarantees about the order of initializers, if not you could
potentially have the wrong class version initialized.
Jeff