harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From enh <...@google.com>
Subject Re: [testing] M12 testing on Windows x86
Date Mon, 30 Nov 2009 06:31:02 GMT
On Sun, Nov 29, 2009 at 22:27, Jesse Wilson <jessewilson@google.com> wrote:
> 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...

s/InputStream/ZipInputStream/

-- 
Elliott Hughes - http://who/enh - http://jessies.org/~enh/

Mime
View raw message