[jboss-jira] [JBoss JIRA] (JBRULES-3651) ClassPathResource.getLastModified() leaks a file descriptor

Mario Fusco (JIRA) jira-events at lists.jboss.org
Tue Oct 9 05:35:03 EDT 2012


     [ https://issues.jboss.org/browse/JBRULES-3651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco reassigned JBRULES-3651:
------------------------------------

    Assignee: Mario Fusco  (was: Mark Proctor)

    
> ClassPathResource.getLastModified() leaks a file descriptor
> -----------------------------------------------------------
>
>                 Key: JBRULES-3651
>                 URL: https://issues.jboss.org/browse/JBRULES-3651
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-core
>    Affects Versions: 5.4.0.Final, 5.5.0.Beta1
>         Environment: Fedora 17, JDK6
>            Reporter: Chris Rankin
>            Assignee: Mario Fusco
>
> Calling {{getLastModified()}} on a {{ClassPathResource}} allocates a file descriptor and doesn't release it until the {{ClassPathResource}} object is garbage-collected.
> I believe that this is a bug in {{JarURLConnection}} in Sun's JDK6, as noticed by the Freemarker project, who also created a [fix|http://sourceforge.net/tracker/index.php?func=detail&aid=1824122&group_id=794&atid=100794].

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list