From c22a40b87d8d3f06ce9cbb180db8e5314fe377d3 Mon Sep 17 00:00:00 2001 From: Albumen Kevin Date: Thu, 2 Nov 2023 09:52:31 +0800 Subject: [PATCH] Fix unit tests failed on JDK8 (#13296) --- dubbo-cluster/pom.xml | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/dubbo-cluster/pom.xml b/dubbo-cluster/pom.xml index 2013b81c99..7e2d58a95a 100644 --- a/dubbo-cluster/pom.xml +++ b/dubbo-cluster/pom.xml @@ -92,11 +92,27 @@ micrometer-tracing-integration-test test - - org.openjdk.nashorn - nashorn-core - ${nashorn-core.version} - test - + + + + + nashorn-jdk11 + + [11,) + + + + org.openjdk.nashorn + nashorn-core + ${nashorn-core.version} + test + + + +