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

Brian Burkhalter bpb at openjdk.org
Wed Oct 23 00:09:25 UTC 2024


> 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.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8233451: Added test of readNBytes(int)

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21508/files
  - new: https://git.openjdk.org/jdk/pull/21508/files/f4ab451b..2876d9fa

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21508&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21508&range=04-05

  Stats: 21 lines in 1 file changed: 19 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/21508.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21508/head:pull/21508

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


More information about the nio-dev mailing list