Integrated: 8233451: (fs) Files.newInputStream() cannot be used with character special files

Brian Burkhalter bpb at openjdk.org
Wed Oct 23 18:56:10 UTC 2024


On Mon, 14 Oct 2024 23:30:06 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Add `isOther` and `available` methods to `FileChannelImpl` and the interfaces to native code and use these in `ChannelInputStream` to work around cases where a wrapped `FileChannelImpl` is not really seekable.

This pull request has now been integrated.

Changeset: de92fe37
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/de92fe375771315452fc5318abfd228fdd31c454
Stats:     413 lines in 8 files changed: 384 ins; 0 del; 29 mod

8233451: (fs) Files.newInputStream() cannot be used with character special files

Reviewed-by: alanb

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

PR: https://git.openjdk.org/jdk/pull/21508


More information about the nio-dev mailing list