JDK-6851125 : test/java/util/zip/ZipFile/ReadAfterClose.java failing
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2009-06-15
  • Updated: 2010-04-02
  • Resolved: 2009-06-15
Related Reports
Duplicate :  
Description
TEST: java/util/zip/ZipFile/ReadAfterClose.java
JDK under test: (/tmp/jprt/P1/T/105912.ab23780/testproduct/solaris_sparcv9_5.10-product)
java version "1.7.0-2009-06-15-105912.ab23780.jdk"
Java(TM) SE Runtime Environment (build 1.7.0-2009-06-15-105912.ab23780.jdk-jprtadm_2009_06_15_04_44-b00)
Java HotSpot(TM) Server VM (build 16.0-b03, mixed mode)

ACTION: build -- Passed. Build successful
REASON: Named class compiled on demand
TIME:   1.283 seconds
messages:
command: build ReadAfterClose
reason: Named class compiled on demand
elapsed time (seconds): 1.283

ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME:   1.282 seconds
messages:
command: compile /tmp/jprt/P1/T/105912.ab23780/source/test/java/util/zip/ZipFile/ReadAfterClose.java
reason: .class file out of date or does not exist
elapsed time (seconds): 1.282
STDOUT:
STDERR:

ACTION: main -- Failed. Execution failed: `main' threw exception: java.io.EOFException: Unexpected end of ZLIB input stream
REASON: Assumed action based on file name: run main ReadAfterClose 
TIME:   0.273 seconds
messages:
command: main ReadAfterClose
reason: Assumed action based on file name: run main ReadAfterClose 
elapsed time (seconds): 0.273
STDOUT:
STDERR:
java.io.EOFException: Unexpected end of ZLIB input stream
	at java.util.zip.ZipFile$1.fill(ZipFile.java:342)
	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)

JavaTest Message: Test threw exception: java.io.EOFException: Unexpected end of ZLIB input stream
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.io.EOFException: Unexpected end of ZLIB input stream

TEST RESULT: Failed. Execution failed: `main' threw exception: java.io.EOFException: Unexpected end of ZLIB input stream
--------------------------------------------------