spring-boot/spring-boot-project/spring-boot-tools
Phillip Webb 360eb027be Don't close nested jars or wrapper when parent is closed
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
2022-08-15 17:55:25 -07:00
..
spring-boot-antlib Name custom task inputs 2021-11-19 15:35:39 +00:00
spring-boot-autoconfigure-processor Merge branch '2.3.x' into 2.4.x 2021-02-02 15:12:27 +00:00
spring-boot-buildpack-platform Update copyright year for "Fix typos in code and documentation" 2022-07-26 12:08:30 +01:00
spring-boot-configuration-metadata Remove redundant throws declarations from internal APIs 2022-05-26 15:47:35 +01:00
spring-boot-configuration-processor Fix typos in code and documentation 2022-07-26 12:08:07 +01:00
spring-boot-gradle-plugin Clarify how docker image publishing registry is determined 2022-07-20 17:29:40 -05:00
spring-boot-gradle-test-support Test our Gradle plugin against Gradle 7.5.1 2022-08-10 12:27:47 +01:00
spring-boot-jarmode-layertools Ensure that jarmode jar added to an app has same SHA as published jar 2022-08-01 20:49:10 +01:00
spring-boot-loader Don't close nested jars or wrapper when parent is closed 2022-08-15 17:55:25 -07:00
spring-boot-loader-tools Ensure that jarmode jar added to an app has same SHA as published jar 2022-08-01 20:49:10 +01:00
spring-boot-maven-plugin Polish 2022-07-28 16:05:16 +02:00
spring-boot-test-support Disable incompatible tests on macOS AArch64 2022-07-18 11:25:52 +02:00