-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.2.0
-
sparc
-
solaris_2.5
Name: ksC84122 Date: 01/11/99
JavaDoc for java.util.jar.JarFile.getJarEntry(String name), getManifest()
does not say that these methods throw IllegalStateException if the jar file
has been closed. These methods do throw IllegalStateException in a same way that
java.util.jar.getEntry(String name), entries(), getInputStream(ZipEntry ze) do.
The JavaDoc for getEntry(String name), entries(), getInputStream(ZipEntry ze)
(in java.util.zip.ZipFile) indicates that these methods throw IllegalStateException
if the zip file has been closed, but the JavaDoc (in java.util.jar.JarFile) for
getJarEntry(String name), getManifest() stays silent about throwing IllegalStateException.
======================================================================
- duplicates
-
JDK-4910572 jarFile.getInputStream dumps core if JarFile is closed.
-
- Closed
-