From fe3bd5d62fdedb7890bd3d589b04285be79c24ed Mon Sep 17 00:00:00 2001 From: Robbin Ehn Date: Wed, 16 Apr 2025 09:56:39 +0000 Subject: [PATCH] 8354667: [TESTBUG] AccessZeroNKlassHitsProtectionZone cds tests require cds Reviewed-by: lmesnik, syan --- .../ErrorHandling/AccessZeroNKlassHitsProtectionZone.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/hotspot/jtreg/runtime/ErrorHandling/AccessZeroNKlassHitsProtectionZone.java b/test/hotspot/jtreg/runtime/ErrorHandling/AccessZeroNKlassHitsProtectionZone.java index 189f1c08916..fde81148a02 100644 --- a/test/hotspot/jtreg/runtime/ErrorHandling/AccessZeroNKlassHitsProtectionZone.java +++ b/test/hotspot/jtreg/runtime/ErrorHandling/AccessZeroNKlassHitsProtectionZone.java @@ -38,7 +38,7 @@ /* * @test id=no_coh_cds * @summary Test that dereferencing a Klass that is the result of a decode(0) crashes accessing the nKlass guard zone - * @requires vm.bits == 64 & vm.debug == true & vm.flagless + * @requires vm.cds & vm.bits == 64 & vm.debug == true & vm.flagless * @requires os.family != "aix" * @library /test/lib * @modules java.base/jdk.internal.misc @@ -64,7 +64,7 @@ /* * @test id=coh_cds * @summary Test that dereferencing a Klass that is the result of a decode(0) crashes accessing the nKlass guard zone - * @requires vm.bits == 64 & vm.debug == true & vm.flagless + * @requires vm.cds & vm.bits == 64 & vm.debug == true & vm.flagless * @requires os.family != "aix" * @library /test/lib * @modules java.base/jdk.internal.misc