You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot/spring-boot-project/spring-boot-tools
Andy Wilkinson e7e77a917f Align PropertiesLauncher's close behavior with JarLauncher
Previously, PropertiesLauncher would close each archive that it
iterated over when creating its ClassLoader. This was not aligned
with JarLauncher's behaviour and left the ClassLoader with closed
archives. The close was introduced in [1] and became more apparent
following the change to fail operations on closed archives [2].

This commit updates Launcher to remove the close() that was added in
[1]. This aligns the behavior of PropertiesLauncher with JarLauncher
and ensures that the ClassLoader does not have entries backed by
closed archives on its classpath.

Fixes gh-23165

[1] ad72f86bdb
[2] ed7a5db174
4 years ago
..
spring-boot-antlib Use classpath normalizer on antlib's integration test classpath input 4 years ago
spring-boot-autoconfigure-processor
spring-boot-buildpack-platform Ensure layer digest hashes contain 64 characters 4 years ago
spring-boot-configuration-metadata Require dependency on s-b-dependencies to use its constraints 4 years ago
spring-boot-configuration-processor Merge branch '2.2.x' into 2.3.x 4 years ago
spring-boot-gradle-plugin Document that buildpacks use non-root users 4 years ago
spring-boot-jarmode-layertools Close writer after use in ExtractCommandTests 4 years ago
spring-boot-loader Align PropertiesLauncher's close behavior with JarLauncher 4 years ago
spring-boot-loader-tools Ensure LayoutFactory is not passed an empty file 4 years ago
spring-boot-maven-plugin Document that buildpacks use non-root users 4 years ago
spring-boot-test-support Merge branch '2.2.x' into 2.3.x 4 years ago