RFR JDK-8066867: Add InputStream transferTo to transfer content to an OutputStream

Patrick Reinhart patrick at reini.net
Tue Dec 9 16:25:11 UTC 2014

Hi Pavel,

1) „transferred“  should be a long instead of int
2) I would extract the buffer size to a constant as in the NIO Files class


> Hi everyone,
> Could you please review my change for JDK-8066867?
> http://cr.openjdk.java.net/~prappo/8066867/webrev.00/
> ---------------------------------------------------------------- 
> The task originated from discussion:
>  http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-November/029650.html

More information about the core-libs-dev mailing list