David Graff created TILES-568:
---------------------------------

             Summary: BaseLocaleUrlDefinitionDAO.loadDefinitionsFromURL(URL 
url) leaks resources
                 Key: TILES-568
                 URL: https://issues.apache.org/jira/browse/TILES-568
             Project: Tiles
          Issue Type: Bug
          Components: tiles-core
    Affects Versions: 2.2.2
            Reporter: David Graff
            Priority: Critical


I discovered a resource leak in the 
BaseLocaleUrlDefinitionDAO.loadDefinitionsFromURL(URL url) method.

If the URLConnection is opened it must be closed.  While this is not evident in 
production modes, when set for refresh options, this will result in an 
increasing number of file-handles left open.

Please correct this to clean up opened resources.

--
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

Reply via email to