Merge "Fix crashing StrictJarFile due to doubled closing."
This commit is contained in:
@@ -134,6 +134,7 @@ public final class StrictJarFile {
|
|||||||
} catch (IOException | SecurityException e) {
|
} catch (IOException | SecurityException e) {
|
||||||
nativeClose(this.nativeHandle);
|
nativeClose(this.nativeHandle);
|
||||||
IoUtils.closeQuietly(fd);
|
IoUtils.closeQuietly(fd);
|
||||||
|
closed = true;
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user