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

Unreleased resource streams

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Slider 0.92
    • Slider 1.0.0
    • agent-provider
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: