harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From enh <...@google.com>
Subject Re: [classlib][archive] problems with ZipFile 9was: Re: [testing] M12 testing on Windows x86)
Date Fri, 27 Nov 2009 22:55:19 GMT
Correct.

On Nov 27, 2009 1:10 PM, "Nathan Beyer" <ndbeyer@apache.org> wrote:

On Fri, Nov 27, 2009 at 5:30 AM, Oliver Deakin <oliver.deakin@googlemail.com>
wrote: > > > Tim Ellis...
Isn't this still incorrect? The available() method isn't equivalent to
what's left in the stream - it's just what's available before the read
will start blocking. Don't you have to read from the stream until it
hits EOF/EOS?

If the use case requires that the entire stream must be read before
moving on, then there's really no point in using available() at all.
Correct?

-Nathan

-Nathan

> Regards, > Oliver > > >> Index: src/main/java/java/util/zip/ZipFile.java
>> =====================...

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message