Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-1247

Unreleased resource streams

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Slider 0.92
    • Fix Version/s: Slider 1.0.0
    • Component/s: agent-provider
    • Labels:
      None

      Description

      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 -

          TarArchiveInputStream tarIn = new TarArchiveInputStream(
              new GzipCompressorInputStream(
                  new BufferedInputStream(
                      new FileInputStream(tarFile)
                  )
              )
          );
      

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

        Attachments

        1. SLIDER-1247.01.patch
          5 kB
          Gour Saha

          Activity

            People

            • Assignee:
              gsaha Gour Saha
              Reporter:
              gsaha Gour Saha
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: