RFR: 8361715: (bf) Improve java/nio/Buffer/GetChars.java and migrate to JUnit [v11]

Alan Bateman alanb at openjdk.org
Mon Jul 28 14:04:58 UTC 2025


On Fri, 25 Jul 2025 18:47:21 GMT, Brett Okken <duke at openjdk.org> wrote:

>> junit for CharSequence behavior of CharBuffer covering different CharBuffer implementations in various states (offset, position, limit)
>
> Brett Okken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   code review comments

test/jdk/java/nio/Buffer/CharBufferAsCharSequenceTest.java line 48:

> 46:  * @library /test/lib
> 47:  * @build jdk.test.lib.RandomFactory
> 48:  * @summary tests the CharBuffer implementations behaving as CharSequence in various states (position, limit, offset)

This would be clearer if replaced with "Tests CharBuffer implementations of CharSequence".

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26282#discussion_r2236623942


More information about the nio-dev mailing list