RFR JDK-8204930 Reader:nullReader() spec does not match the behavior

Patrick Reinhart patrick at reini.net
Fri Jun 15 06:33:17 UTC 2018


On 2018-06-14 13:03, Alan Bateman wrote:
> On 14/06/2018 11:50, Patrick Reinhart wrote:
>> Hi everybody,
>> 
>> I re-proposed the CSR with the changed API.
> The CSR is associated with the original change-set that was pushed a
> few months so the simplest is to just create a follow-up CSR that is
> linked to the new bug.

I created a follow-up CSR with relation to the existing one now.

In the meantime I got a comment on the initial issue according the 
specification of the  [ ready(), skip(), transferTo() ] where it seen to 
be unclear what is the expected behavior "if end of stream reached" 
exactly means.

Any suggestions on that part? Should it state that ready() will always 
return false, skip() and transferTo() always return zero?

-Patrick


More information about the core-libs-dev mailing list