Integrated: 8341666: FileInputStream doesn't support readAllBytes() or readNBytes(int) on pseudo devices
Brian Burkhalter
bpb at openjdk.org
Mon Oct 28 16:42:26 UTC 2024
On Wed, 23 Oct 2024 22:52:52 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Modify `FileInputStream` (FIS) to fall back to the superclass implementations of `readAllBytes()`, `readNBytes(int)`, `skip()`, and `transferTo` when the input source would otherwise fail with "Illegal Seek" in the FIS implementation, such as for the standard input or a named pipe.
This pull request has now been integrated.
Changeset: 1341b813
Author: Brian Burkhalter <bpb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1341b81321fe77005ba68fba19c7d83e3fcb5fde
Stats: 267 lines in 7 files changed: 262 ins; 0 del; 5 mod
8341666: FileInputStream doesn't support readAllBytes() or readNBytes(int) on pseudo devices
Reviewed-by: alanb
-------------
PR: https://git.openjdk.org/jdk/pull/21673
More information about the core-libs-dev
mailing list