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:
@@ -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