-
Bug
-
Resolution: Fixed
-
P4
-
1.4.2
-
b30
-
x86
-
linux, windows_2000
Name: rmT116609 Date: 08/14/2003
FULL PRODUCT VERSION :
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
A DESCRIPTION OF THE PROBLEM :
Although reasonably well known, the javadoc for ZipInputStream.getNextEntry and the similar methods in JarInputStream make no mention that null is returned when there is no next entry. Novices will typically try to available or use exception handling once running off the end.
REPRODUCIBILITY :
This bug can be reproduced always.
(Incident Review ID: 199218)
======================================================================
- duplicates
-
JDK-4856879 Doc for Zip/JarInputStream .getNextEntry() needs to explain how to detect end
-
- Closed
-