RFR: 8276994: java/nio/channels/Channels/TransferTo.java leaves multi-GB files in /tmp
Daniel Fuchs
dfuchs at openjdk.java.net
Mon Nov 15 18:01:37 UTC 2021
On Sun, 14 Nov 2021 16:59:58 GMT, Markus KARG <duke at openjdk.java.net> wrote:
>> This is a simple test so really no need not do the initialization as part of the declaration given there is no other work done by this method.
>
> As I explained, this is not written due to a *need* but due to *deliberate separation of concerns*. So is separation of concerns a design strategy that is forbidden in OpenJDK?
It's better to avoid using raw-types unless there's a specific reason to do so (I guess this is just an oversight).
-------------
PR: https://git.openjdk.java.net/jdk/pull/6379
More information about the nio-dev
mailing list