Modify the `handleAvailable` native code path to ignore an `ERROR_INVALID_FUNCTION` encountered by `PeekNamedPipe` and update an existing test to verify this change.
------------- Commit messages: - 8342086: FileInputStream.available() fails with "Incorrect function" for "nul" path (win) Changes: https://git.openjdk.org/jdk/pull/21543/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21543&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8342086 Stats: 34 lines in 2 files changed: 17 ins; 0 del; 17 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