RFR: 8357280: (bf) java/nio/Buffer/LimitDirectMemoryNegativeTest.java is not run on aarch64

Alan Bateman alanb at openjdk.org
Tue May 20 06:26:51 UTC 2025


On Mon, 19 May 2025 22:01:42 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Add missing `(os.arch == "aarch64")` to the `@requires` tag of the test.

test/jdk/java/nio/Buffer/LimitDirectMemoryNegativeTest.java line 29:

> 27:  * @summary Test option to limit direct memory allocation,
> 28:  *          various bad values fail to launch the VM
> 29:  * @requires (os.arch == "x86_64") | (os.arch == "amd64") | (os.arch == "aarch64")

Is the `@requires` needed?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25311#discussion_r2097024394


More information about the nio-dev mailing list