Hi Louis, I have a functional patch implemented. It adds available() to FileChannelImpl which then uses it if the SeekableByteChannel is a FileChannelImpl. The patch only had the UNIX changes for now; I’ve not investigated Windows enough to know what to do there.
Does that sound reasonable? Thanks, Brian On Oct 2, 2024, at 1:48 PM, Louis Bergelson <lou...@broadinstitute.org> wrote: 3. Modify the available method on ChannelInputStream to return 0 in this case.