RFR: 8364213: (bf) Improve java/nio/Buffer/GetChars.java test comments [v4]

Brett Okken duke at openjdk.org
Thu Jul 31 16:57:54 UTC 2025


On Thu, 31 Jul 2025 16:17:55 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Brett Okken has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   whitespace
>
> [JDK-8364345](https://bugs.openjdk.org/browse/JDK-8364345) tracks an intermittent failure with the test where CharBufferAsCharSequenceTest.randomizeRange fails.

@AlanBateman [JDK-8364345](https://bugs.openjdk.org/browse/JDK-8364345) was fixed in https://github.com/openjdk/jdk/pull/26512/commits/5ec88b87cf525d5ac19147b28e98f225f9f67deb

The problem was when a `CharBuffer` which had already had a random range applied was sliced and then randomized again.

https://github.com/openjdk/jdk/pull/26512/files#diff-07e323ba9598a996e3c48942181ad955762b67e6759c9f210ebb69c049d76606R116

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

PR Comment: https://git.openjdk.org/jdk/pull/26512#issuecomment-3140685589


More information about the nio-dev mailing list