• Phillip Webb's avatar
    Create new JarFile instance for URL connections · c85918b8
    Phillip Webb authored
    Update `JarURLConnection` to ensure that when connections are opened
    a new copy of the JarFile is provided.
    
    Prior to this commit, a single `JarFile` instance was shared which meant
    that it could be accidental closed if accessed via
    `JarURLConnection.getJarFile()`. If the underlying jar file is closed
    then it's possible for a `NoClassDefFoundError` to be thrown if running
    on JDK 11 with an active `SecurityManager`.
    
    Closes gh-17796
    c85918b8
Name
Last commit
Last update
..
src Loading commit data...
pom.xml Loading commit data...