Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 44440 invoked from network); 7 May 2010 20:13:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 May 2010 20:13:14 -0000 Received: (qmail 22625 invoked by uid 500); 7 May 2010 20:13:14 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 22580 invoked by uid 500); 7 May 2010 20:13:14 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 22573 invoked by uid 99); 7 May 2010 20:13:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 20:13:14 +0000 X-ASF-Spam-Status: No, hits=-1402.7 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 20:13:13 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o47KCrS6000177 for ; Fri, 7 May 2010 20:12:53 GMT Message-ID: <8130308.38411273263173310.JavaMail.jira@thor> Date: Fri, 7 May 2010 16:12:53 -0400 (EDT) From: "Maarten Coene (JIRA)" To: notifications@ant.apache.org Subject: [jira] Updated: (IVY-1152) Ivy does not close URL connection to ivy-report.xsl properly In-Reply-To: <1730580561.1261406418153.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IVY-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maarten Coene updated IVY-1152: ------------------------------- Fix Version/s: 2.2.0-RC1 (was: trunk) > Ivy does not close URL connection to ivy-report.xsl properly > ------------------------------------------------------------ > > Key: IVY-1152 > URL: https://issues.apache.org/jira/browse/IVY-1152 > Project: Ivy > Issue Type: Bug > Components: Core > Affects Versions: 2.0, 2.1.0 > Reporter: Pavel Sher > Assignee: Maarten Coene > Fix For: 2.2.0-RC1 > > > It seems BasicURLHanlder.disconnect() does not properly close URL connection to ivy-report.xsl file. In my case URL looks like: > jar:file://ivy-2.0.jar!/org/apache/ivy/plugins/report/ivy-report.xsl > In disconnect() method there is a check for URL connection class: > "sun.net.www.protocol.file.FileURLConnection".equals(con.getClass().getName()) > However in runtime this check does not work because instead of FileURLConnection there is JarURLConnection: > sun.net.www.protocol.jar.JarURLConnection > This leads to leaked input streams if Ivy is used programmatically within the same JVM. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.