Integrated: 8342086: FileInputStream.available() fails with "Incorrect function" for "nul" path (win)

Brian Burkhalter bpb at openjdk.org
Tue Dec 3 16:22:52 UTC 2024


On Wed, 16 Oct 2024 16:56:38 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: 3eaa7615
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3eaa7615cd7dc67eb78fb0a8f89d4e6662a0db37
Stats:     36 lines in 2 files changed: 13 ins; 8 del; 15 mod

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

Reviewed-by: alanb

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

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


More information about the core-libs-dev mailing list