JDK-6846616 : java/util/zip/ZipFile/ReadAfterClose.java failed after fix for 6735255
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 7
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-05-30
  • Updated: 2013-12-05
  • Resolved: 2009-07-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u75Fixed 7 b64Fixed
Related Reports
Duplicate :  
Relates :  
Description
java/util/zip/ZipFile/ReadAfterClose.java failed after fix for 6735255

java.io.EOFException: Unexpected end of ZLIB input stream
	at java.util.zip.ZipFile$1.fill(ZipFile.java:343)
	at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
	at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:122)
	at ReadAfterClose.main(ReadAfterClose.java:42)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:623)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:717)

Comments
EVALUATION The EOFException is thrown...the regression test should expect this as well as the ZipException. *** (#1 of 1): [ UNSAVED ] ###@###.###
30-05-2009