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

Pavel Rappo pavel.rappo at oracle.com
Tue Dec 9 23:20:33 UTC 2014

Apologies Patrick, that's me who misread you. I assume I had a mix of your
reply, our recent conversation and David's question in my head.

About your actual reply. That's probably a matter of taste, since nowhere else
except for this particular method this thing is not used (in java.nio.file.Files
BUFFER_SIZE const is referenced 3 times).
It's more like java.io.InputStream#MAX_SKIP_BUFFER_SIZE, which is more of an
explanatory purpose than anything else, I suppose.

> On 9 Dec 2014, at 23:05, Patrick Reinhart <patrick at reini.net> wrote:
> You got exactly my point :-)  I will try to improve my english and express myself more clearly the next time ;-)

More information about the core-libs-dev mailing list