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

Brian Burkhalter bpb at openjdk.org
Tue May 20 15:48:51 UTC 2025


On Tue, 20 May 2025 06:24:07 GMT, Alan Bateman <alanb 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?

Perhaps not now that 32-bit is gone. Maybe this is a more general topic?

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

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


More information about the nio-dev mailing list