spring-boot/spring-boot-project/spring-boot-tools
Phillip Webb 9e4f160c17 Attempt to fix NestedJarFile file lock issues on Windows
Update `DefaultCleanerTracking` and `@AssertFileChannelDataBlocksClosed`
to capture and store the source object if it is a `Cleanable` so that
it can be released later.

Although the real cleaner cannot keep a reference to `obj`, it is safe
for us to do so in tests since we are in control of the object lifecycle
and we don't need it to be garbage collected.

This commit also updates the `UrlJarFile` to call the cleaner so that
it can be tracked.

See gh-37668
2023-10-06 23:44:55 -07:00
..
spring-boot-antlib Rename spring-boot-loader to spring-boot-loader-classic 2023-10-03 15:40:04 -07:00
spring-boot-autoconfigure-processor Merge branch '2.7.x' into 3.0.x 2023-10-03 10:28:51 +01:00
spring-boot-buildpack-platform Merge branch '3.1.x' 2023-10-03 13:18:32 -05:00
spring-boot-cli Rename spring-boot-loader to spring-boot-loader-classic 2023-10-03 15:40:04 -07:00
spring-boot-configuration-metadata Replace contains/put/get pattern with computeIfAbsent 2023-08-08 13:12:47 +02:00
spring-boot-configuration-metadata-changelog-generator Polish 2023-07-05 15:50:32 +01:00
spring-boot-configuration-processor Update copyright year of changed files 2023-08-13 20:44:44 -07:00
spring-boot-gradle-plugin Rewrite nested jar support code and remove Java 8 support 2023-10-03 17:27:57 -07:00
spring-boot-gradle-test-support Merge branch '3.0.x' into 3.1.x 2023-10-03 11:05:51 +01:00
spring-boot-jarmode-layertools Rename spring-boot-loader to spring-boot-loader-classic 2023-10-03 15:40:04 -07:00
spring-boot-loader Attempt to fix NestedJarFile file lock issues on Windows 2023-10-06 23:44:55 -07:00
spring-boot-loader-classic Rename spring-boot-loader to spring-boot-loader-classic 2023-10-03 15:40:04 -07:00
spring-boot-loader-tools Add Maven and Gradle option for the loader implementation to use 2023-10-03 15:40:42 -07:00
spring-boot-maven-plugin Fix test failure caused by PropertiesLoader class reference 2023-10-03 17:27:39 -07:00
spring-boot-properties-migrator Use Stream.toList() 2023-07-05 09:38:19 +01:00
spring-boot-test-support Merge branch '3.1.x' 2023-10-03 11:21:29 +01:00