On Tue, 15 Oct 2024 22:37:26 GMT, Brian Burkhalter <b...@openjdk.org> wrote:

>> Add `isOther` and `available` methods to `FileChannelImpl` and the 
>> interfaces to native code and use these in `ChannelInputStream` to work 
>> around cases where a wrapped `FileChannelImpl` is not really seekable.
>
> Brian Burkhalter has updated the pull request incrementally with two 
> additional commits since the last revision:
> 
>  - 8233451: Remove use of handleAvailable() (Windows)
>  - 8233451: Remove use of handleAvailable() (UNIX)

Hello.
I see that my [report](https://bugs.openjdk.org/browse/JDK-8341666) was closed 
as a duplicate of JDK-8233451 (the bug this PR fixes).
This does not resolve the situation with `FileInputStream`?
`java.io` will not be fixed? Practically none of the new API such as 
`readNBytes` could be used as it relies on calls to `lseek` on unix systems 
(this affects MacOS as well).
Thanks.

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

PR Comment: https://git.openjdk.org/jdk/pull/21508#issuecomment-2418429142

Reply via email to