<Swing Dev> RFR: 8262161 Refactor manual I/O stream copying to new convinient methods in java.desktop
Sergey Bylokhov
serb at openjdk.java.net
Tue Feb 23 15:23:54 UTC 2021
On Mon, 22 Feb 2021 18:38:36 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> Cleanup code to use new handy methods in `java.io.InputStream`/`java.nio.file.Files` instead of manual stream copy:
>> 1. java.io.InputStream#readAllBytes
>> 2. java.io.InputStream#transferTo
>> 3. java.nio.file.Files#copy
>>
>> Similar issue - https://bugs.openjdk.java.net/browse/JDK-8080272
>
> The changes look fine, I'll run the tests.
I have filed https://bugs.openjdk.java.net/browse/JDK-8262161
-------------
PR: https://git.openjdk.java.net/jdk/pull/1856
More information about the swing-dev
mailing list