RFR 8193842: Refactor InputStream-to-OutputStream copy into a utility method

Alan Bateman Alan.Bateman at oracle.com
Wed Jan 3 11:23:50 UTC 2018



On 02/01/2018 23:43, Brian Burkhalter wrote:
> :
>
>> So not clear to me that Files.copy methods needs to use this.
>
> So you are suggesting leaving the call to InputStream.transferTo() in 
> preference to IOSupport.copy()?
Yes, I think these two should use transferTo.

-Alan


More information about the core-libs-dev mailing list