From 80cadd40103cf1f490a5d70be784652e27588114 Mon Sep 17 00:00:00 2001 From: Kim Barrett Date: Wed, 14 Dec 2022 21:57:55 +0000 Subject: [PATCH] 8298785: gc/TestFullGCCount.java fails with "invalid boolean value: `null' for expression `vm.opt.ExplicitGCInvokesConcurrent'" Reviewed-by: dcubed --- test/hotspot/jtreg/gc/TestFullGCCount.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/hotspot/jtreg/gc/TestFullGCCount.java b/test/hotspot/jtreg/gc/TestFullGCCount.java index 08f8125de83..1c178b755db 100644 --- a/test/hotspot/jtreg/gc/TestFullGCCount.java +++ b/test/hotspot/jtreg/gc/TestFullGCCount.java @@ -30,7 +30,7 @@ package gc; * @comment Shenandoah has "ExplicitGCInvokesConcurrent" on by default * @requires !(vm.gc == "Shenandoah" & vm.opt.ExplicitGCInvokesConcurrent != false) * @comment G1 has separate counters for STW Full GC and concurrent GC. - * @requires !(vm.gc == "G1" & vm.opt.ExplicitGCInvokesConcurrent) + * @requires !(vm.gc.G1 & vm.opt.ExplicitGCInvokesConcurrent == true) * @requires vm.gc != "Z" * @modules java.management * @run main/othervm -Xlog:gc gc.TestFullGCCount