Merge "Fix crashing StrictJarFile due to doubled closing." am: 68ea36243d am: 15cd392108
am: 3199d58939
Change-Id: I269b4a0a7fcbb30804a3dd39870cce927c2b9596
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