From 7fcd32b746e34645ccffc73111b33cb086965e9c Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Tue, 12 Dec 2023 00:13:46 -0500 Subject: [PATCH] Adds a brief comment to explain addition of jvmArg while testing Signed-off-by: Darshit Chanpura --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index f8d75afb65..d92f97b073 100644 --- a/build.gradle +++ b/build.gradle @@ -256,6 +256,7 @@ test { jvmArgs += "-Xmx3072m" if (JavaVersion.current() > JavaVersion.VERSION_1_8) { jvmArgs += "--add-opens=java.base/java.io=ALL-UNNAMED" + // this needed to reflect access system env map. jvmArgs += "--add-opens=java.base/java.util=ALL-UNNAMED" } retry { @@ -304,6 +305,7 @@ def setCommonTestConfig(Test task) { task.jvmArgs += "-Xmx3072m" if (JavaVersion.current() > JavaVersion.VERSION_1_8) { task.jvmArgs += "--add-opens=java.base/java.io=ALL-UNNAMED" + // this needed to reflect access system env map. task.jvmArgs += "--add-opens=java.base/java.util=ALL-UNNAMED" } task.retry {