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

Chris Hegarty chris.hegarty at oracle.com
Tue Dec 9 22:58:40 UTC 2014


> On 9 Dec 2014, at 22:24, Pavel Rappo <pavel.rappo at oracle.com> wrote:
> 
> 
>> 2) I would extract the buffer size to a constant as in the NIO Files class
> 
> Patrick, we've discussed it already. Correct me if I wrong, but we came to the
> conclusion that there's not enough evidence to support the need for this method.

I assume this is just a comment on an implementation detail
    private static final int BUFFER_SIZE ...

   , which I agree with.

-Chris


More information about the core-libs-dev mailing list