IndexV1Updater: Closing JarFile on end of use. Closes issue #1382.
This commit is contained in:
parent
0d9a203447
commit
f76f9357d7
@ -200,6 +200,7 @@ public class IndexV1Updater extends IndexUpdater {
|
|||||||
InputStream indexInputStream = new ProgressBufferedInputStream(jarFile.getInputStream(indexEntry),
|
InputStream indexInputStream = new ProgressBufferedInputStream(jarFile.getInputStream(indexEntry),
|
||||||
processIndexListener, (int) indexEntry.getSize());
|
processIndexListener, (int) indexEntry.getSize());
|
||||||
processIndexV1(indexInputStream, indexEntry, cacheTag);
|
processIndexV1(indexInputStream, indexEntry, cacheTag);
|
||||||
|
jarFile.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user