diff --git a/test/jdk/java/nio/MappedByteBuffer/PmemTest.java b/test/jdk/java/nio/MappedByteBuffer/PmemTest.java index 2771295c8a030..0c931b3606f01 100644 --- a/test/jdk/java/nio/MappedByteBuffer/PmemTest.java +++ b/test/jdk/java/nio/MappedByteBuffer/PmemTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2019, 2025, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -77,25 +77,24 @@ * make test TEST=jdk/java/nio/MappedByteBuffer/PmemTest.java */ -/* @test +/* @test id=default_architecture_test_case * @summary Testing NVRAM mapped byte buffer support * @run main/manual PmemTest * @requires (os.family == "linux") - * @requires (os.arch == "x86_64") + * @requires ((os.arch == "x86_64")|(os.arch == "amd64")) */ -/* @test +/* @test id=other_architectures_test_case * @summary Testing NVRAM mapped byte buffer support * @run main/manual PmemTest * @requires (os.family == "linux") - * @requires ((os.arch == "amd64")|(os.arch == "aarch64")|(os.arch == "ppc64le")) + * @requires ((os.arch == "aarch64")|(os.arch == "ppc64le")) * @ignore The test described here is currently disabled on systems that are not * x64-based and lack an external NVRAM memory device. In order to re-enable the * test, you will need to mount the NVRAM device, which will typically appear as * /dev/pmem0, to the directory /mnt/pmem. Once that is done, you can follow the * instructions above to create a test directory and remove the ignore tag. */ - import java.io.File; import java.nio.MappedByteBuffer; import java.nio.channels.FileChannel; @@ -173,4 +172,4 @@ public static void dumpBufferPoolBeans() "\n}"); } } -} +} \ No newline at end of file