Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 20870 invoked by uid 500); 21 Jul 2001 12:37:25 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 20669 invoked from network); 21 Jul 2001 12:37:24 -0000 Message-ID: <000601c111e2$adeff5b0$64e2223f@cognetnt> From: "Conor MacNeill" To: References: Subject: Re: sun.tools.javac.Main will be removed from JDK1.4 Date: Sat, 21 Jul 2001 19:12:23 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ----- Original Message ----- From: "Craig R. McClanahan" To: Cc: 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