Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 37631 invoked from network); 16 Mar 2004 19:23:38 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Mar 2004 19:23:38 -0000 Received: (qmail 46058 invoked by uid 500); 16 Mar 2004 19:23:28 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 45897 invoked by uid 500); 16 Mar 2004 19:23:27 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 45883 invoked from network); 16 Mar 2004 19:23:27 -0000 Received: from unknown (HELO junior.lgc.com) (134.132.72.99) by daedalus.apache.org with SMTP; 16 Mar 2004 19:23:27 -0000 Received: from lgchvw01.lgc.com (lgchvw01.lgc.com [134.132.93.107]) by junior.lgc.com (8.11.7/8.11.3) with SMTP id i2GJML717336 for ; Tue, 16 Mar 2004 13:22:21 -0600 (CST) Received: from 134.132.93.152 by lgchvw01.lgc.com (InterScan E-Mail VirusWall NT); Tue, 16 Mar 2004 13:23:22 -0600 Received: by lgchexchbh.ad.lgc.com with Internet Mail Service (5.5.2657.72) id ; Tue, 16 Mar 2004 13:23:22 -0600 Message-ID: <830BF4914C3C4B4EB1C438D93ABF897A272B2E@lgchexch011.ad.lgc.com> From: Dominique Devienne To: "'Ant Developers List'" Subject: RE: Pb with ++ Date: Tue, 16 Mar 2004 13:23:21 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > From: Matt Benson [mailto:gudnabrsam@yahoo.com] > > Nope, I'm running 1.6.0. But it's always scary to me > > when one needs > > System.gc() in ones code... As we all know, this > > Dominique: please believe that I hated to add this to > the code. Unfortunately, IT WORKS. If you search the > lists you will find that I said when I added it that I > didn't want to believe it was true... Another place > that would have achieved a similar effect would be on > LazyFileOutputStream.close(), since most files created > by Ant are created this way... it's just something to > do with Windows JVMs not properly releasing file > handles or something until after gc, best I can tell... Don't get me wrong Matt, no question what you're doing is the right thing, since it fixes real problems. But I always hate it when we litter our code with turn arounds for bugs. No other solution here, but I wish SUN would fix their VMs instead ;-) All 1.{1|2|3|4|5} of them ;-)))) --DD --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org