ZipInputStream brokenness
Adam Megacz
gcj@lists.megacz.com
Mon Sep 2 14:25:00 GMT 2002
Per Bothner <per@bothner.com> writes:
> (It's actually gnu.gcj.protocol.http.URLConnection.)
> I don't think this code says very much about buffers pro or con.
Sure it does. If you have two inputstreams reading off a single
parent, and one of the children buffers, it can screw up its sibling.
Buffering can be added, but not removed.
If, as you claim, buffering is Always A Good Thing, why doesn't
the base InputStream class do buffering?
- a
--
"Cassette tapes are killing the music industry" -- RIAA spokesperson, 1978
More information about the Java
mailing list