ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <>
Subject RE: Preventing Parent Classloading
Date Tue, 14 Oct 2003 15:42:14 GMT
> From: Dominique Devienne []
> Note that it's often dangerous to break the delegation model of class
> loaders... Works sometimes, but be aware we're breaking the rules. --DD

Absolutely. I would caution against violating the requirement to delegate 
to parent loaders. It can cause a lot of problems some of which are not
easily repeatable (i.e. they depend on timing and garbage collection 
operations). It may work once and then fail the next time. 

It can be done but you need to be clear about what is happening. Ant does
it in two places (the <java> and <junit> tasks).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message