ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: sun.tools.javac.Main will be removed from JDK1.4
Date Fri, 20 Jul 2001 23:20:37 GMT


On Fri, 20 Jul 2001, Sam Ruby wrote:

> Craig R. McClanahan wrote:
> >
> > An additional note of interest to Ant developers - there is evidence that
> > running the compiler (either old or new) leaves a fair amount of cruft
> > lying around in static variables, after the compile has completed. The
> > recommended solution is to load the compiler itself in its own class
> > loader, so that you can throw it all away afterwards.  That's the
> approach
> > we'll take when modifying Jasper.
> 
> Would there be a value in a commons-javac?  Several Apache projects seem to
> have need for this function...
> 

That would be an interesting approach, but also a non-trivial amount of
work.  Any compiler hackers out there?

> - Sam Ruby
> 
> 

Craig



Mime
View raw message