This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: bug in the ClassLoader
minyard@acm.org wrote:
>
> I believe I have seen this, and I have a patch. This occurs if the
> exact same class exists in multiple shared objects; the same class
> gets put into the class table twice.
>
Yes that is what was happening and your patch does detect the
problem and fix it. Thanks.
> Here's a patch; it's to an older version of GCJ, but it should be easy
> to apply. If it's not already in the GCJ sources, something like this
> should be.
Currently is no check in the class registration code for duplicate
class registrations and I agree with you I think there should
be.
-tony