From 574ba1400e015bf579190828fbdf0618eed48bdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Casta=C3=B1eda=20Lozano?= Date: Tue, 23 Apr 2024 06:52:58 +0000 Subject: [PATCH] 8330862: GCBarrierIRExample fails when a different GC is selected via the command line Reviewed-by: thartmann, dholmes, stefank --- .../ir_framework/examples/GCBarrierIRExample.java | 1 + 1 file changed, 1 insertion(+) diff --git a/test/hotspot/jtreg/testlibrary_tests/ir_framework/examples/GCBarrierIRExample.java b/test/hotspot/jtreg/testlibrary_tests/ir_framework/examples/GCBarrierIRExample.java index 5d714c513f1..e0287fc39fe 100644 --- a/test/hotspot/jtreg/testlibrary_tests/ir_framework/examples/GCBarrierIRExample.java +++ b/test/hotspot/jtreg/testlibrary_tests/ir_framework/examples/GCBarrierIRExample.java @@ -33,6 +33,7 @@ import java.lang.invoke.MethodHandles; * @summary Example test that illustrates the use of the IR test framework for * verification of late-expanded GC barriers. * @library /test/lib / + * @requires vm.gc.ZGenerational * @run driver ir_framework.examples.GCBarrierIRExample */