RFR [8026756] Test java/util/zip/GZIP/GZIPInZip.java failed again
Ivan Gerasimov
ivan.gerasimov at oracle.com
Thu Oct 17 03:41:04 UTC 2013
Hello everybody!
When I proposed a fix for 8023431 I messed up with verifying the fix
somehow, and the test started to fail right after pushing the fix.
I'm sorry about that.
The reason of the failure is that when GZIPStream is closed, it also
closes the underlying stream.
In this fix I removed try-with-resource block around GZIPStreams usage,
so they do not close the underlying ZipStreams.
I also got rid of the threads and replaced the logic with simple
ByteArrayStreams manipulations.
Please have a chance to review the webrev:
http://cr.openjdk.java.net/~igerasim/8026756/0/webrev/
Sincerely yours,
Ivan Gerasimov
More information about the core-libs-dev
mailing list