RFR: 8342086: FileInputStream.available() fails with "Incorrect function" for "nul" path (win) [v2]

Brian Burkhalter bpb at openjdk.org
Mon Dec 2 19:44:02 UTC 2024


> Modify the `handleAvailable` native code path to ignore an `ERROR_INVALID_FUNCTION` encountered by `PeekNamedPipe` and update an existing test to verify this change.

Brian Burkhalter has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:

 - 8342086: Do not filter PeekNamedPipe errors
 - Merge
 - 8342086: FileInputStream.available() fails with "Incorrect function" for "nul" path (win)

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21543/files
  - new: https://git.openjdk.org/jdk/pull/21543/files/fd111807..88735e46

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21543&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21543&range=00-01

  Stats: 512044 lines in 6957 files changed: 262197 ins; 204981 del; 44866 mod
  Patch: https://git.openjdk.org/jdk/pull/21543.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21543/head:pull/21543

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


More information about the core-libs-dev mailing list