mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Attempt to fix NestedJarFile file lock issues on Windows
Update `NestedJarFile.close()` to call `super.close()` so that the outer jar file is closed and files can hopefully be deleted on Windows. See gh-37668
This commit is contained in:
+1
@@ -373,6 +373,7 @@ public class NestedJarFile extends JarFile {
|
||||
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
super.close();
|
||||
if (this.closed) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user