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

Brian Burkhalter bpb at openjdk.org
Thu Jul 17 22:24:50 UTC 2025


On Wed, 16 Jul 2025 21:51:48 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> 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.

For an example of using RandomFactory, please see the [AllocateDirectInit](https://github.com/openjdk/jdk/blob/master/test/jdk/java/nio/Buffer/AllocateDirectInit.java
) test.

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

PR Comment: https://git.openjdk.org/jdk/pull/26282#issuecomment-3085691202


More information about the nio-dev mailing list