----- Original Message -----
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: <[email protected]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, July 21, 2001 3:53 AM
Subject: Re: sun.tools.javac.Main will be removed from JDK1.4


> 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.

We had reached the same conclusion for different reasons. On Windows
platforms, it seems that javac will retain locks on jars in the classpath.

Conor



Reply via email to