RFR: 8361715: (bf) Improve java/nio/Buffer/GetChars.java and migrate to JUnit [v4]
Brian Burkhalter
bpb at openjdk.org
Wed Jul 16 21:55:02 UTC 2025
On Wed, 16 Jul 2025 11:46:06 GMT, Brett Okken <duke at openjdk.org> wrote:
> > It looks like some of the range tests and the char get test overlap with ... `GetChars`
>
> My intent was to be able to replace `GetChars`.
That is the objective originally intended for the fix of this issue.
> I did not carry forward the randomization of content, positions, limits, etc. because I prefer avoiding randomness in tests when it does not seem strictly required/valuable.
Just to note that the test library `RandomFactory` logs the seed used and allows specifying the seed in order to replicate a given random set of parameters.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26282#issuecomment-3081196858
More information about the nio-dev
mailing list