ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Reeves <Nick.Ree...@gtl.com>
Subject RE: Object retention problem with javac
Date Fri, 19 Jan 2001 12:54:14 GMT
Will try AntClassLoader and let you know.

> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: 19 January 2001 12:47
> To: ant-dev@jakarta.apache.org
> Subject: Re: Object retention problem with javac
> 
> 
> Nick Reeves <Nick.Reeves@gtl.com> wrote:
> 
> > Solution proposed: run calls to javac inside their own ClassLoader
> 
> I'm not sure this would work and not cause a load of classloader
> problems (ClassCastExceptions you usually get for classes loaded via
> different loaders) but sure worth a try.
> 
> A start would be to modify one of the Javac?? classes in the
> .../taskdefs/compilers directory to load the compiler class via an
> AntClassLoader instance. Could you give it a try and report back to
> us?
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-dev-help@jakarta.apache.org
> 

Mime
View raw message