JDK-8191706: Proposal to add Reader::transferTo(Writer)

Patrick Reinhart patrick at reini.net
Wed Nov 22 18:36:32 UTC 2017

Webrev and CSR updated accordingly...


Am 22.11.2017 um 09:23 schrieb Alan Bateman:
> On 21/11/2017 19:56, Patrick Reinhart wrote:
>> Hi there out a the review [1] for  JDK-8066870, that will need some more
>> working on, I created this specific issue to add an transferTo method to
>> the java.io.Reader as it seems more clear as of the similarity to
>> java.io.InputStream.transferTo(java.io.OutputStream) in terms of the
>> API.
> The updated proposal looks good. One minor nit on the javadoc is that
> it says "end of the data". The existing read methods use "end of the
> stream" so best to keep that consistent.
> -Alan.

More information about the core-libs-dev mailing list