RFR: 8276779: (ch) InputStream returned by Channels.newInputStream should have fast path for SelectableChannels [v16]

Markus KARG duke at openjdk.java.net
Sat Nov 27 16:57:38 UTC 2021


On Fri, 26 Nov 2021 17:49:07 GMT, Markus KARG <duke at openjdk.java.net> wrote:

>> test/jdk/java/nio/channels/Channels/TransferTo.java line 194:
>> 
>>> 192:         try {
>>> 193:             // testing arbitrary input (here: empty file) to non-blocking selectable output
>>> 194:             try (FileChannel fc = FileChannel.open(Files.createTempFile(null, null));
>> 
>> As mentioned in a previous PR review, please create the temp file in the test directory and provide a prefix.
>
> With "the test directory", you mean the current working directory `"."`?

Done in https://github.com/openjdk/jdk/pull/5179/commits/807139e0daf0647a868b8eab45bfb5efac944410.

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

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


More information about the nio-dev mailing list