You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Lae (JIRA)" <ji...@apache.org> on 2016/05/13 23:31:12 UTC

[jira] [Created] (VFS-610) Resource leak in CombinedResources.loadResources(String)

Lae created VFS-610:
-----------------------

             Summary: Resource leak in CombinedResources.loadResources(String)
                 Key: VFS-610
                 URL: https://issues.apache.org/jira/browse/VFS-610
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: 2.0
            Reporter: Lae


{{org.apache.commons.vfs2.util.CombinedResources.loadResources(String)}} doesn't close the {{InputStream}}s it created:
{code:java}
    protected void loadResources(String resourceName)
    {
                    ...
                    properties.load(resource.openConnection().getInputStream());
                    ...
    }
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)