Skip to content

Commit

Permalink
LPD-44033 Fix sidecar jvm options
Browse files Browse the repository at this point in the history
  • Loading branch information
shuyangzhou authored and brianchandotcom committed Dec 13, 2024
1 parent 807d487 commit 8905cce
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ public Builder elasticsearchConfigurationProperties(

if (!JavaDetector.isJDK8()) {
sidecarJVMOptions =
"-Xmx256m|--add-opens=java.base/java.lang=ALL-UNNAMED";
"-Xmx256m|--add-opens=java.base/java.lang=ALL-UNNAMED|--" +
"add-opens=java.base/java.lang.invoke=ALL-UNNAMED";
}

return HashMapBuilder.<String, Object>put(
Expand Down

0 comments on commit 8905cce

Please sign in to comment.