From 05888a25e2eb594600a38cead3b26f86caaf3a43 Mon Sep 17 00:00:00 2001 From: Jiawei Tang Date: Tue, 6 Aug 2024 10:32:57 +0800 Subject: [PATCH] fix the test condition to avoid NoClassDefFoundError --- .../jvmti/vthread/TestPinCaseWithCFLH/TestPinCaseWithCFLH.java | 1 + 1 file changed, 1 insertion(+) diff --git a/test/hotspot/jtreg/serviceability/jvmti/vthread/TestPinCaseWithCFLH/TestPinCaseWithCFLH.java b/test/hotspot/jtreg/serviceability/jvmti/vthread/TestPinCaseWithCFLH/TestPinCaseWithCFLH.java index 93786b51ff8ab..584ac5fe87927 100644 --- a/test/hotspot/jtreg/serviceability/jvmti/vthread/TestPinCaseWithCFLH/TestPinCaseWithCFLH.java +++ b/test/hotspot/jtreg/serviceability/jvmti/vthread/TestPinCaseWithCFLH/TestPinCaseWithCFLH.java @@ -34,6 +34,7 @@ * @requires vm.jvmti * @modules java.base/java.lang:+open * @compile TestPinCaseWithCFLH.java + * @build jdk.test.lib.util.JavaAgentBuilder * @run driver jdk.test.lib.util.JavaAgentBuilder * TestPinCaseWithCFLH TestPinCaseWithCFLH.jar * @run main/othervm/timeout=100 -Djdk.virtualThreadScheduler.maxPoolSize=1