United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6907660 stupid typo in ZipFileIndex guarantees NPE
JDK-6907660 : stupid typo in ZipFileIndex guarantees NPE

Details
Type:
Bug
Submit Date:
2009-12-05
Status:
Closed
Updated Date:
2011-07-25
Project Name:
JDK
Resolved Date:
2011-07-25
Component:
tools
OS:
generic
Sub-Component:
javac
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
The following code at line 1005 of ZipFileIndex is clearly wrong.

                            if (raf == null) {
                                raf.close();
                            }

== should be !=

                                    

Comments
EVALUATION

A tricky fix (not.)
                                     
2009-12-05



Hardware and Software, Engineered to Work Together