This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]