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

Brian Burkhalter bpb at openjdk.org
Tue Jul 15 21:42:40 UTC 2025


On Tue, 15 Jul 2025 11:56:26 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:
> 
>   add coverage for ByteBuffer as CharBuffer and test for codePoints

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

> 22:  */
> 23: 
> 24: import static org.junit.jupiter.api.Assertions.assertEquals;

By convention, we typically put static imports _after_ regular imports.

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

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


More information about the nio-dev mailing list