From c10340918cfe6d316c1d4d57e9f586c94c6d3098 Mon Sep 17 00:00:00 2001
From: Amos Shi <ashi@openjdk.org>
Date: Wed, 21 Aug 2024 23:21:10 +0000
Subject: [PATCH] 8308891: TestCDSVMCrash.java needs @requires vm.cds

Backport-of: 101bf2290da5735fd9624ab647a8183c2c21f22d
---
 test/hotspot/jtreg/runtime/cds/TestCDSVMCrash.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/hotspot/jtreg/runtime/cds/TestCDSVMCrash.java b/test/hotspot/jtreg/runtime/cds/TestCDSVMCrash.java
index b3db8202ab3..1a13e30f33a 100644
--- a/test/hotspot/jtreg/runtime/cds/TestCDSVMCrash.java
+++ b/test/hotspot/jtreg/runtime/cds/TestCDSVMCrash.java
@@ -24,6 +24,7 @@
 /*
  * @test TestCDSVMCrash
  * @summary Verify that an exception is thrown when the VM crashes during executeAndLog
+ * @requires vm.cds
  * @modules java.base/jdk.internal.misc
  * @library /test/lib
  * @run driver TestCDSVMCrash
-- 
GitLab