classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] Patch: RFC: ClassLoader and resolution


From: Archie Cobbs
Subject: Re: [cp-patches] Patch: RFC: ClassLoader and resolution
Date: Wed, 23 Mar 2005 15:23:20 -0600
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129

Tom Tromey wrote:
I wanted to post this for comment.  I couldn't easily test this inside
libgcj, due to an oddity of our implementation.  (I'll send a note
about that too, shortly.)

It seems to me that if you call loadClass("foo",false) and then
loadClass("foo",true), the second call will not actually resolve the
class, due to the early return in ClassLoader.loadClass().  This patch
fixes the apparent bug.

Looks fine to me.. I'm curious: did you actually trip over this bug?
It seems like a pretty obscure case.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]