From 40e0a455012346fcffd04b1246a52101f3fe0e94 Mon Sep 17 00:00:00 2001 From: "everywhere.z" Date: Sun, 31 Aug 2025 22:38:03 +0800 Subject: [PATCH] =?UTF-8?q?feature=20#ICUMKV=20=E5=85=A8=E9=9D=A2=E6=94=AF?= =?UTF-8?q?=E6=8C=81jdk21=EF=BC=8C=E4=BB=A5=E5=8F=8A=E6=94=AF=E6=8C=81jdk2?= =?UTF-8?q?1=E4=B8=AD=E7=9A=84=E8=99=9A=E6=8B=9F=E7=BA=BF=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yomahub/liteflow/thread/ExecutorHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liteflow-core/src/main/java/com/yomahub/liteflow/thread/ExecutorHelper.java b/liteflow-core/src/main/java/com/yomahub/liteflow/thread/ExecutorHelper.java index d27618963..3a2a38b0e 100644 --- a/liteflow-core/src/main/java/com/yomahub/liteflow/thread/ExecutorHelper.java +++ b/liteflow-core/src/main/java/com/yomahub/liteflow/thread/ExecutorHelper.java @@ -221,7 +221,7 @@ public class ExecutorHelper { public boolean isEnabledVirtualThreads(){ if (isEnabledVirtualThreadsCache == null){ LiteflowConfig liteflowConfig = LiteflowConfigGetter.get(); - isEnabledVirtualThreadsCache = BooleanUtil.isTrue(liteflowConfig.getEnableVirtualThread() && JdkUtil.JVM_VERSION == 21); + isEnabledVirtualThreadsCache = BooleanUtil.isTrue(liteflowConfig.getEnableVirtualThread() && JdkUtil.JVM_VERSION >= 21); } return isEnabledVirtualThreadsCache; }