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

Alan Bateman Alan.Bateman at oracle.com
Wed Nov 22 08:23:51 UTC 2017

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.


More information about the core-libs-dev mailing list