RFR: 8341666: FileInputStream doesn't support readAllBytes() or readNBytes(int) on pseudo devices [v5]
Alan Bateman
alanb at openjdk.org
Sat Oct 26 06:53:05 UTC 2024
On Fri, 25 Oct 2024 22:14:43 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.
>
> Brian Burkhalter has updated the pull request incrementally with two additional commits since the last revision:
>
> - 8341666: Update comments of isRegularFile field and isRegularFile() method
> - 8341666: Fix typo in previous commit
Marked as reviewed by alanb (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/21673#pullrequestreview-2397064583
More information about the core-libs-dev
mailing list