RFR: 7174305: (ch) Channels.newReader doesn't throw IllegalBlockingModeException if channel is configured non-blocking

Alan Bateman alanb at openjdk.org
Thu Feb 9 07:21:44 UTC 2023


On Wed, 8 Feb 2023 21:48:33 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Modify `sun.nio.cs.StreamDecoder::readBytes` to throw `IllegalBlockingModeException` if its channel is configured to be non-blocking.

I think we'll need to hold off on this one until Java monitors have been re-implemented.

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

PR: https://git.openjdk.org/jdk/pull/12478


More information about the nio-dev mailing list