On Fri, 16 Oct 2026 06:27:40 GMT, Alan Bateman <[email protected]> wrote:
> > This is already being looked into in > > https://bugs.openjdk.org/browse/JDK-8387022 and has been assigned. > > Right, and there are two parts to this. One is extending FIS and overriding > read with a "broken" implementation, the other is Channels.newInputStream > where the scenario is more likely that the underlying channel has been > configured non-blocking. Is `Channels.newInputStream` on a non-blocking channel a useful construction? The doc of `Channels.newInputStream` specifies `read` will throw if the channel is in non-blocking mode. ------------- PR Comment: https://git.openjdk.org/jdk/pull/33401#issuecomment-6216772806
