Merge branch '2.2.x'

See gh-21127
This commit is contained in:
Phillip Webb 2020-04-25 22:21:23 -07:00
commit 77b9dd900c
1 changed files with 1 additions and 0 deletions

View File

@ -115,6 +115,7 @@ public class JarFile extends java.util.jar.JarFile implements Iterable<java.util
*/
JarFile(JarFile parent) throws IOException {
super(parent.rootFile.getFile());
super.close();
this.parent = parent;
this.rootFile = parent.rootFile;
this.pathFromRoot = parent.pathFromRoot;