Karl Pauls created SLING-11630: ---------------------------------- Summary: Feature model IOUtils should not use caches for jar files from jar url connection Key: SLING-11630 URL: https://issues.apache.org/jira/browse/SLING-11630 Project: Sling Issue Type: Bug Components: Feature Model Affects Versions: Feature Model 1.2.30 Reporter: Karl Pauls Assignee: Karl Pauls Fix For: Feature Model 1.3.0
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. -- This message was sent by Atlassian Jira (v8.20.10#820010)