Update `JarFile` so that the `close()` method no longer closes nested jars or the wrapper. Prior to this commit it was possible for a parent jar file to be garbage collected and closed even though references still existed to the nested jars. When this happened the nested jars would get closed and any access to entries would result in `JarFile.ensureOpen()` throwing an `IllegalStateException`. The user would often not see this exception directly, but rather find `ClassNotFoundException` being thrown. Fixes gh-31853 |
||
---|---|---|
.. | ||
spring-boot-antlib | ||
spring-boot-autoconfigure-processor | ||
spring-boot-buildpack-platform | ||
spring-boot-configuration-metadata | ||
spring-boot-configuration-processor | ||
spring-boot-gradle-plugin | ||
spring-boot-gradle-test-support | ||
spring-boot-jarmode-layertools | ||
spring-boot-loader | ||
spring-boot-loader-tools | ||
spring-boot-maven-plugin | ||
spring-boot-test-support |