mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-11 16:33:42 +00:00
6907660: stupid typo in ZipFileIndex guarantees NPE
Reviewed-by: darcy
This commit is contained in:
parent
3229a1bbc6
commit
3d3790d91c
@ -1002,7 +1002,7 @@ public class ZipFileIndex {
|
||||
// Do nothing
|
||||
} finally {
|
||||
try {
|
||||
if (raf == null) {
|
||||
if (raf != null) {
|
||||
raf.close();
|
||||
}
|
||||
} catch (Throwable t) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user