RFR: 8275840: Add test to java/nio/channels/Channels/TransferTo.java to test transfer sizes > 2GB [v3]

Markus KARG duke at openjdk.java.net
Mon Nov 1 18:37:43 UTC 2021


On Mon, 1 Nov 2021 16:45:15 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Markus KARG has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Constants instead of local variables
>>   
>>   Signed-off-by: Markus Karg <markus at headcrashing.eu>
>
> test/jdk/java/nio/channels/Channels/TransferTo.java line 152:
> 
>> 150:         long count;
>> 151:         try (InputStream inputStream = Channels.newInputStream(FileChannel.open(sourceFile));
>> 152:         OutputStream outputStream = Channels.newOutputStream(FileChannel.open(targetFile, StandardOpenOption.WRITE))) {
> 
> I think that this needs to be indented.

Thanks, done in https://github.com/openjdk/jdk/pull/6093/commits/435690c6539e74b08162b63d0b896545c5ee3de2.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6093


More information about the nio-dev mailing list