java/1376
Tom Tromey
tromey@redhat.com
Tue Jun 26 09:42:00 GMT 2001
>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:
>> On Mon, 25 Jun 2001, Jeff Dahl - Test/MTI wrote:
>> 267 if (!obj.getClass().getClassLoader().equals(cl))
Jeff> That looks like your problem there... getClassLoader() will be `null'
Jeff> for compiled classes.
There's already a different fix for this on the gcc trunk.
I also put it in to Classpath.
It looks like this:
ClassLoader loader = obj.getClass().getClassLoader();
if (loader == null)
loader = ClassLoader.getSystemClassLoader();
if (!loader.equals(cl))
continue;
Tom
More information about the Gcc-bugs
mailing list