On 30/03/2013 17:56, Dan Xu wrote:
I see. So we will need clarify the spec and make corresponding
changes. I think as long as we don't trigger exceptions and just
return 0 will be backward-compatible, right?
-Dan
I've created 8011136 to track the issues.
We need to be careful of course and work through the implications. I
think for available() that returning 0 should be okay. The
skip(negative) issue is harder as the long standing behavior is not
unreasonable but it conflicts with the behavior specified by both
InputStream.skip and FileInputStream.skip.
-Alan.