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

Brian Burkhalter bpb at openjdk.org
Tue Oct 22 21:45:19 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: Add --enable-native-access=ALL-UNNAMED; clean up formatting

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

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

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

  Stats: 6 lines in 1 file changed: 0 ins; 3 del; 3 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