Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2138

Contribution JARs should not be cached by URLConnections

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java-SCA-1.2
    • Java-SCA-1.2
    • SCA Java Runtime
    • None

    Description

      Contribution JARs should not be cached by the URLConnections used to read them as caching these JARs makes updates impossible to handle without stopping/restarting the JVM.

      Code that uses URLConnections to read application contributions should call setUseCaches(false).
      Code that uses URL.openStream or ClassLoader.getResourceAsStream should be changed to use a URLConnection.

      Attachments

        Activity

          People

            jsdelfino Jean-Sebastien Delfino
            jsdelfino Jean-Sebastien Delfino
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: