From a8933643e48ba6cce6b63b4e066320b523fc24ca Mon Sep 17 00:00:00 2001 From: Russell Jurney Date: Fri, 10 Jan 2025 20:03:09 -0800 Subject: [PATCH 1/3] Ignore VSCode config --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 4c1f83be0..3f992a889 100644 --- a/.gitignore +++ b/.gitignore @@ -20,5 +20,8 @@ project/plugins/project/ # intellij .idea/ +# VSCode +.vscode + # Mac *.DS_Store From a4bf720378fed2b8daf2ffe7311302c68bc62bda Mon Sep 17 00:00:00 2001 From: Russell Jurney Date: Fri, 10 Jan 2025 20:03:31 -0800 Subject: [PATCH 2/3] Removed JDK 11 stuff that breaks JDK 8 --- build.sbt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index ec2b5c223..39a8e3f52 100644 --- a/build.sbt +++ b/build.sbt @@ -66,9 +66,7 @@ fork in Test := true javaOptions in Test ++= Seq( "-Xmx2048m", "-XX:ReservedCodeCacheSize=384m", - "-XX:MaxMetaspaceSize=384m", - "--add-opens=java.base/sun.nio.ch=ALL-UNNAMED", - "--add-opens=java.base/java.lang=ALL-UNNAMED" + "-XX:MaxMetaspaceSize=384m" ) concurrentRestrictions in Global := Seq( From 68b54cd6e152a55c817e214870cae8eb9afe6b05 Mon Sep 17 00:00:00 2001 From: Russell Jurney Date: Tue, 14 Jan 2025 11:11:10 -0800 Subject: [PATCH 3/3] Added -XX:+IgnoreUnrecognizedVMOptions and put JDK 17 ignores back --- build.sbt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 39a8e3f52..d49da406e 100644 --- a/build.sbt +++ b/build.sbt @@ -64,9 +64,12 @@ fork in Test := true // This and the next line fix a problem with forked run: https://github.com/scalatest/scalatest/issues/770 javaOptions in Test ++= Seq( + "-XX:+IgnoreUnrecognizedVMOptions", "-Xmx2048m", "-XX:ReservedCodeCacheSize=384m", - "-XX:MaxMetaspaceSize=384m" + "-XX:MaxMetaspaceSize=384m", + "--add-opens=java.base/sun.nio.ch=ALL-UNNAMED", + "--add-opens=java.base/java.lang=ALL-UNNAMED" ) concurrentRestrictions in Global := Seq(