Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 44235 invoked from network); 16 Apr 2011 19:29:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Apr 2011 19:29:48 -0000 Received: (qmail 8882 invoked by uid 500); 16 Apr 2011 19:29:47 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 8766 invoked by uid 500); 16 Apr 2011 19:29:46 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 8758 invoked by uid 99); 16 Apr 2011 19:29:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Apr 2011 19:29:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sslavic@gmail.com designates 209.85.212.43 as permitted sender) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Apr 2011 19:29:38 +0000 Received: by vws10 with SMTP id 10so3344748vws.30 for ; Sat, 16 Apr 2011 12:29:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=KiIByM0oghtjmz6JhWIPtwjKHJOFIF9TgiEDpVms61k=; b=U5fS2z9dB9NgxPwvusAmFl1ZMv8n0B46lM+zA9h5L6Loc32qtQB8z0By9wd5pVZU1G JjD/x7P34m/F9B9C/nUsYpZhDxPlSDyaXYCfiE2MvEB27tnQHNMAwpGqQnUWO8TUb1xb maOugwxyWcffslL7JDA41wFdMRMyH27QWSJCg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Y809nyB04Q8RNKSzJw0cRO9VLMnLNaMoWdo2t7hlzeiXnEKX1mv8a6YLwoOAjkxhIj 3rf3Y85pMYXRHJq9B0EeDImIA1cD691K8D+aClHfGDngN2+ZiJgmLSlIZa1gPUd0hxS2 T/iUmCCLe4MyGIb4RKQHm68FSqIjgHX19DvPw= MIME-Version: 1.0 Received: by 10.52.178.196 with SMTP id da4mr4656837vdc.227.1302982157773; Sat, 16 Apr 2011 12:29:17 -0700 (PDT) Received: by 10.52.166.101 with HTTP; Sat, 16 Apr 2011 12:29:17 -0700 (PDT) Date: Sat, 16 Apr 2011 21:29:17 +0200 Message-ID: Subject: Commons compress, ZipFile and finalize From: =?UTF-8?Q?Stevo_Slavi=C4=87?= To: user Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hello Apache Commons users, Is there a reason why ZipFile shouldn't call it's closeQuietly or just close on finalize? Now (commons compress 1.1), if ZipFile is garbage collected without being closed first, file descriptor leak will occur. Regards, Stevo. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org