This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]