bug in the ClassLoader

Tony Knaus awk@spinnakernet.com
Mon Aug 27 14:45:00 GMT 2001

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


More information about the Java mailing list