From 50e30db96ab411135202d5da56e2f7e171d32193 Mon Sep 17 00:00:00 2001 From: Reid Chan Date: Mon, 18 Sep 2023 10:15:24 +0800 Subject: [PATCH] Some UTs fail when running under JDK17 (#4084) ### Motivation To make all UTs can run under JDK17 ### Changes add `--add-opens java.base/java.util.concurrent.locks=ALL-UNNAMED` --- pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f5dc2b6bbda..6938b329839 100644 --- a/pom.xml +++ b/pom.xml @@ -810,7 +810,7 @@ rxjava ${rxjava.version} - + com.carrotsearch hppc @@ -1284,6 +1284,7 @@ --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED + --add-opens java.base/java.util.concurrent.locks=ALL-UNNAMED --add-opens java.base/java.util.stream=ALL-UNNAMED --add-opens java.base/java.util.zip=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED