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

Brian Burkhalter bpb at openjdk.org
Fri Feb 10 17:46:54 UTC 2023


On Thu, 9 Feb 2023 15:29:03 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.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   7174305: Catch expected IllegalBlockingMode in test

Closing this PR until better monitors are available.

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

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


More information about the nio-dev mailing list