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.
This bug can be reproduced always.
(Incident Review ID: 199218)