[
https://issues.apache.org/jira/browse/WICKET-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Vaynberg resolved WICKET-2534.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.5-M1
1.4.4
> File Handle Leak in URLResourceStream
> -------------------------------------
>
> Key: WICKET-2534
> URL: https://issues.apache.org/jira/browse/WICKET-2534
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.1, 1.4.2, 1.4.3
> Environment: Any
> Reporter: Adam Bender
> Assignee: Igor Vaynberg
> Fix For: 1.4.4, 1.5-M1
>
> Attachments: UrlResourceStream.java
>
>
> The URLResourceStream constructor is using a UrlConnection to access the
> lastModifiedDate of jar files. This leads to a known File Handle leak as
> described here:
> http://www.mail-archive.com/[email protected]/msg20951.html .
> The workaround for this issue is also described here. It appears that this
> workaround has been applied to the URLResourcesStream#lastModifiedTime method
> and so it could easily be replicated in the constructor to avoid calling
> lastModifiedTime on the JarUrlResourceConnection.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.