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:
Phillip Webb 2023-10-06 21:47:55 -07:00
parent 6c24ea01f1
commit 5da31aca46
1 changed files with 1 additions and 0 deletions

View File

@ -373,6 +373,7 @@ public class NestedJarFile extends JarFile {
@Override
public void close() throws IOException {
super.close();
if (this.closed) {
return;
}