RFR: 8233451: (fs) Files.newInputStream() cannot be used with character special files [v2]

Brian Burkhalter bpb at openjdk.org
Fri Oct 18 21:17:53 UTC 2024


On Fri, 18 Oct 2024 15:03:43 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> I wonder if there is another special file that could be read to EOF to allow the methods be tested. Asking because the overrides have a code path we need to test.
>
> I need to investigate this. I might hold off integrating even thought it's approved until this is determined.

> I wonder if there is another special file that could be read to EOF to allow the methods be tested.

I think that this can done using a named pipe, at least on UNIX.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21508#discussion_r1807022434


More information about the nio-dev mailing list