RFR  GzipInputStream closes underlying stream during reading
ivan.gerasimov at oracle.com
Fri May 10 08:03:41 UTC 2013
GzipInputStream uses SequenceInputStream to concatenate the underlying
stream with some data that reside in memory.
SequenceInputStream is implementing in such a way that it closes the
stream when it reaches EOS.
The solution is to wrap the underlying stream with extended
FilterInputStream that overrides the close() method.
More information about the core-libs-dev