ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: [VOTE] class loading
Date Thu, 12 Apr 2001 22:51:59 GMT
At 12:53  12/4/01 -0700, David Rees wrote:
>On 12 Apr 2001 09:45:29 +0200, Stefan Bodewig wrote:
>
>>> * force resolution of classes on loading to identify classloader 
>>>   issues early. (At least in global classloader).
>>
>>-0
>>
>
>against (unless I misunderstand it) - I think that reduces
>flexibility. I may generate classes in my build that I want to use
>later on.

Thats is another issue completely. Basically this just means that when you
go Class.forName("foo") then foo and all it's dependents are loaded. This
avoides hard to trace errors of classnotfounds that occur when classes are
dynamically loaded later.

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message