logo       

Re: Patch: RFC: ClassLoader and resolution: msg#00170

java.classpath.patches

Subject: Re: Patch: RFC: ClassLoader and resolution

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise