Skip to content

Commit

Permalink
Adds a note about new MODERN_JAVA options
Browse files Browse the repository at this point in the history
  • Loading branch information
colindean authored Apr 10, 2024
1 parent f363f38 commit aacdf7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ Test / fork := true
javaOptions ++= (if (sparkVersion.value > "3.0" && System.getenv("MODERN_JAVA") == "TRUE") {
// For modern Java we need to open up a lot of config options.
Seq("-Xms4048M", "-Xmx4048M",
// these were added in JDK 11 and newer, apparently.
"-Dio.netty.tryReflectionSetAccessible=true",
"--add-opens=java.base/java.lang=ALL-UNNAMED",
"--add-opens=java.base/java.io=ALL-UNNAMED",
Expand Down

0 comments on commit aacdf7f

Please sign in to comment.