Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11630

Feature model IOUtils should not use caches for jar files from jar url connection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Feature Model 1.2.30
    • Feature Model 1.3.0
    • Feature Model
    • None

    Description

      The JarUrlConnection is set to use caches for JarFiles by default. That is a problem because if there is more than one connection for the same JarFile and the connection is going away, it will close the JarFile - potentially causing the users of the JarFile from the other (still open) connection with a closed JarFile.

      To work around this problem, the IOUtils should set use caches to false on the connections it creates.

      Attachments

        Activity

          People

            karlpauls Karl Pauls
            karlpauls Karl Pauls
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: