changeset 454:ea89c5d4af08

6907660: stupid typo in ZipFileIndex guarantees NPE Reviewed-by: darcy
author jjg
date Mon, 07 Dec 2009 14:35:07 -0800
parents 121e0ebf1658
children ceb2857fce7d ff823a039e16
files src/share/classes/com/sun/tools/javac/file/ZipFileIndex.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/javac/file/ZipFileIndex.java	Thu Dec 03 14:03:53 2009 -0800
+++ b/src/share/classes/com/sun/tools/javac/file/ZipFileIndex.java	Mon Dec 07 14:35:07 2009 -0800
@@ -1002,7 +1002,7 @@
                         // Do nothing
                     } finally {
                         try {
-                            if (raf == null) {
+                            if (raf != null) {
                                 raf.close();
                             }
                         } catch (Throwable t) {