ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Sher (JIRA)" <>
Subject [jira] Commented: (IVY-1152) Ivy does not close URL connection to ivy-report.xsl properly
Date Tue, 22 Dec 2009 12:20:29 GMT


Pavel Sher commented on IVY-1152:

It seems the problem is fixed. I also found a workaround (cause I can't easily use new version
of Ivy) - I can disable output report generation in ResolveOptions. This helps too. 

Thank you!

> Ivy does not close URL connection to ivy-report.xsl properly
> ------------------------------------------------------------
>                 Key: IVY-1152
>                 URL:
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0, 2.1.0
>            Reporter: Pavel Sher
>            Assignee: Maarten Coene
>             Fix For: trunk
> It seems BasicURLHanlder.disconnect() does not properly close URL connection to ivy-report.xsl
file. In my case URL looks like:
> jar:file:/<path>/ivy-2.0.jar!/org/apache/ivy/plugins/report/ivy-report.xsl
> In disconnect() method there is a check for URL connection class:
> "".equals(con.getClass().getName())
> However in runtime this check does not work because instead of FileURLConnection there
is 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.

View raw message