summaryrefslogtreecommitdiffstats
path: root/standalone-container
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2021-11-01 14:31:00 +0100
committerGitHub <noreply@github.com>2021-11-01 14:31:00 +0100
commit98fb3744348dd52e97c45c5429ceb4c21dc3b124 (patch)
tree1eaa71a50bd95f1ccaa7a696f560caae754f1c18 /standalone-container
parent1163edf3b7d94e9581a6670fc6b725e056e87023 (diff)
Revert "Remove JVM option that is unsupported on JDK 17"
Diffstat (limited to 'standalone-container')
-rwxr-xr-xstandalone-container/src/main/sh/standalone-container.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/standalone-container/src/main/sh/standalone-container.sh b/standalone-container/src/main/sh/standalone-container.sh
index 9e888bdfea2..9f862d2b14a 100755
--- a/standalone-container/src/main/sh/standalone-container.sh
+++ b/standalone-container/src/main/sh/standalone-container.sh
@@ -163,6 +163,7 @@ StartCommand() {
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath="$VESPA_HOME/var/crash" \
-XX:+ExitOnOutOfMemoryError \
+ --illegal-access=warn \
--add-opens=java.base/java.io=ALL-UNNAMED \
--add-opens=java.base/java.lang=ALL-UNNAMED \
--add-opens=java.base/java.net=ALL-UNNAMED \