From bb20ca0d8ddc0ba86d8cdafab13e6ea7e6e9b096 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=87=B4=E8=8A=82?= Date: Wed, 1 Nov 2023 14:14:39 +0800 Subject: [PATCH] 1. update 4.0.2 2. fix SpringContextInstallStage countDownLatch size error --- pom.xml | 2 +- .../alipay/sofa/boot/isle/stage/SpringContextInstallStage.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 01b134a06..e6daff256 100644 --- a/pom.xml +++ b/pom.xml @@ -35,7 +35,7 @@ SOFABoot Build - 4.0.1 + 4.0.2 ${revision} 3.0.9 diff --git a/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/main/java/com/alipay/sofa/boot/isle/stage/SpringContextInstallStage.java b/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/main/java/com/alipay/sofa/boot/isle/stage/SpringContextInstallStage.java index f226f79e6..85688f383 100644 --- a/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/main/java/com/alipay/sofa/boot/isle/stage/SpringContextInstallStage.java +++ b/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/main/java/com/alipay/sofa/boot/isle/stage/SpringContextInstallStage.java @@ -154,7 +154,7 @@ private void doRefreshSpringContextParallel() { if (rootDescriptors == null || rootDescriptors.size() == 0) { return; } - final CountDownLatch latch = new CountDownLatch(rootDescriptors.size()); + final CountDownLatch latch = new CountDownLatch(application.getResolvedDeployments().size()); List> futures = new CopyOnWriteArrayList<>(); for (final DeploymentDescriptor deployment : rootDescriptors) {