RFR: 8268435: (ch) ChannelInputStream could override readAllBytes [v5]

Florian Weimer fweimer at openjdk.java.net
Tue Oct 5 14:56:11 UTC 2021


On Fri, 1 Oct 2021 15:53:10 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> This change would override `readAllBytes()` and `readNBytes(int)` in `ChannelInputStream` thereby improving performance for all but smaller streams.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8268435: More comments; use assertThrows() instead of expectedExceptions

This introduced [JDK-8274780](https://bugs.openjdk.java.net/browse/JDK-8274780). Fixed proposed via #5824.

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

PR: https://git.openjdk.java.net/jdk/pull/5645


More information about the nio-dev mailing list