This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: ZipInputStream brokenness
Per Bothner <per@bothner.com> writes:
> > If you want buffering, you should wrap a BufferedInputStream around
> > it. Buffering can be added, but not removed, which is why it is not
> > automatic.
> Besides, I don't see any reason that you'd ever want to *not* buffer,
I can think of plenty; see the comment at the top of
gnu.gcj.protocol.http.HttpURLConnection.getHttpHeaders() for a great
example of how buffering can be bad.
- a
--
"Cassette tapes are killing the music industry" -- RIAA spokesperson, 1978