Gour Saha created SLIDER-1247:
---------------------------------

             Summary: Unreleased resource streams
                 Key: SLIDER-1247
                 URL: https://issues.apache.org/jira/browse/SLIDER-1247
             Project: Slider
          Issue Type: Bug
          Components: agent-provider
    Affects Versions: Slider 0.92
            Reporter: Gour Saha


The function expandTar() in AgentClientProvider.java will sometimes fail to 
release a system resource allocated by FileInputStream() and its chain of 
wrapper streams as shown below -
{code}
    TarArchiveInputStream tarIn = new TarArchiveInputStream(
        new GzipCompressorInputStream(
            new BufferedInputStream(
                new FileInputStream(tarFile)
            )
        )
    );
{code}

Similar issues are seen in AgentClientProvider.java in few other places.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to