harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Wilson <jessewil...@google.com>
Subject Re: [testing] M12 testing on Windows x86
Date Mon, 30 Nov 2009 06:27:57 GMT
On Thu, Nov 26, 2009 at 10:44 AM, Tim Ellison <t.p.ellison@gmail.com> wrote:

> I know the arguments that say available() should not be used to judge
> the total number of bytes that can be read, but it seems that a number
> of applications (including our generated parser?) use it in this way.

And if we return a subclass of ZipInputStream (which we do) we need to honor
the contract of InputStream.available(), which promises to return 1 or 0...

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