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

Brian Burkhalter bpb at openjdk.org
Thu Oct 17 22:14:59 UTC 2024


On Thu, 17 Oct 2024 11:20:59 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - 8233451: Remove use of handleAvailable() (Windows)
>>  - 8233451: Remove use of handleAvailable() (UNIX)
>
> src/java.base/unix/native/libnio/ch/UnixFileDispatcherImpl.c line 233:
> 
>> 231: 
>> 232:     return JNI_TRUE;
>> 233: }
> 
> Can you check if any of these syscalls can fail with EINTR? I don't think so but need to check.

None of them are documented to so fail in the Linux and macOS man pages.

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

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


More information about the nio-dev mailing list