From c3f44d2baa7e9d745380831ff830f336e5dff8b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6berl?= Date: Mon, 25 Nov 2024 21:44:59 +0100 Subject: [PATCH] add "--add-opens java.base/java.lang=ALL-UNNAMED" to fix tests --- build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle b/build.gradle index e040261b40..700961729e 100644 --- a/build.gradle +++ b/build.gradle @@ -70,6 +70,7 @@ subprojects { test { useTestNG() options.suites("src/test/conf/testng.xml") + jvmArgs = ["--add-opens", "java.base/java.lang=ALL-UNNAMED"] } task sourcesJar(type: Jar) {