ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <...@latchkey.com>
Subject Re: sun.tools.javac.Main will be removed from JDK1.4
Date Fri, 20 Jul 2001 21:24:03 GMT
on 7/20/01 10:53 AM, "Craig R. McClanahan" <craigmcc@apache.org> wrote:

> There are some pretty intense discussions going on about this, and the
> story hasn't yet been finished ...
> 
> On the other hand, the "new" compiler entry point has an absolutely
> horrible feature (from the point of view of Jasper) -- you have to modify
> System.out and System.err to redirect the compiler output.  Unless system
> variables are unique per classloader (they weren't last time I checked),
> that means we can only do one compile at a time :-(.
> 
> 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.
> 
> Craig

You have to be kidding me.

Sun is essentially screwing itself by making Jasper harder to implement?

Time to drop Javac and just use Jikes...

-jon


Mime
View raw message