Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SCA-1.2
-
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.