From da4fbb1e9e4fb4db08c8aeb1b3f8ed79c9897dac Mon Sep 17 00:00:00 2001 From: Azat Abdullin Date: Wed, 17 Jan 2024 17:00:28 +0100 Subject: [PATCH] fix build on jdk 17 --- kex-core/pom.xml | 3 ++- kex-runner/pom.xml | 1 + pom.xml | 9 +++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/kex-core/pom.xml b/kex-core/pom.xml index ae8450dfe..12d972577 100644 --- a/kex-core/pom.xml +++ b/kex-core/pom.xml @@ -16,7 +16,7 @@ 0.10.2 0.0.0.6 4.3.0-kex-0.0.3 - 2.3.3 + 2.3.5 @@ -191,6 +191,7 @@ maven-surefire-plugin 2.22.0 + ${test.jvm.params} ${project.parent.basedir.canonicalPath} diff --git a/kex-runner/pom.xml b/kex-runner/pom.xml index 48b53c9cc..5cefad5af 100644 --- a/kex-runner/pom.xml +++ b/kex-runner/pom.xml @@ -160,6 +160,7 @@ maven-surefire-plugin 2.22.0 + ${test.jvm.params} ${project.parent.basedir.canonicalPath} diff --git a/pom.xml b/pom.xml index 4ed2df582..d2499a7e3 100644 --- a/pom.xml +++ b/pom.xml @@ -37,6 +37,15 @@ 1.2.11 1.7.36 1.5.0 + + + -XX:+IgnoreUnrecognizedVMOptions + "--add-opens java.base/java.lang=ALL-UNNAMED" + "--add-opens java.base/java.util=ALL-UNNAMED" + "--add-opens java.base/java.math=ALL-UNNAMED" + "--add-opens java.base/java.lang.reflect=ALL-UNNAMED" + --illegal-access=warn +