RFR 8193842: Replace Files.copy(InputStream, OutputStream) with InputStream.transferTo(OutputStream)

Langer, Christoph christoph.langer at sap.com
Wed Dec 20 07:12:58 UTC 2017


Hi Brian,

this looks good.

Best regards
Christoph

-----Original Message-----
From: nio-dev [mailto:nio-dev-bounces at openjdk.java.net] On Behalf Of Brian Burkhalter
Sent: Dienstag, 19. Dezember 2017 23:52
To: nio-dev <nio-dev at openjdk.java.net>
Subject: RFR 8193842: Replace Files.copy(InputStream, OutputStream) with InputStream.transferTo(OutputStream)

https://bugs.openjdk.java.net/browse/JDK-8193842
http://cr.openjdk.java.net/~bpb/8193842/webrev.00/

Replace the private static method cop(InputStream,OutputStream) with recently added public APIs.

Thanks,

Brian


More information about the nio-dev mailing list