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

David M. Lloyd david.lloyd at redhat.com
Tue Dec 9 16:17:56 UTC 2014

On 12/09/2014 09:47 AM, Pavel Rappo wrote:
> Hi everyone,
> Could you please review my change for JDK-8066867?
> http://cr.openjdk.java.net/~prappo/8066867/webrev.00/

In the NIO version of this method, it accepts a 'long' parameter which 
indicates how many bytes should be transferred (similar to skip()).  Is 
there a reason not to do that here as well?


More information about the core-libs-dev mailing list