From f093f3b939a2950890e48568d690501d2c1070f4 Mon Sep 17 00:00:00 2001 From: Yang He Date: Fri, 17 Sep 2021 08:54:49 -0700 Subject: [PATCH] [SPARK-36780][BUILD] Make `dev/mima` runs on Java 17 ### What changes were proposed in this pull request? Java 17 has been officially released. This PR makes `dev/mima` runs on Java 17. ### Why are the changes needed? To make tests pass on Java 17. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manual test. Closes #34022 from RabbidHY/SPARK-36780. Lead-authored-by: Yang He Co-authored-by: Dongjoon Hyun Signed-off-by: Dongjoon Hyun (cherry picked from commit 5d0889bf363522968a50b928014ba68bf18966ea) Signed-off-by: Dongjoon Hyun --- dev/mima | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/mima b/dev/mima index dd0532f24a..6c32d6c15b 100755 --- a/dev/mima +++ b/dev/mima @@ -43,6 +43,7 @@ fi $JAVA_CMD \ -Xmx2g \ + -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.util.jar=ALL-UNNAMED \ -cp "$TOOLS_CLASSPATH:$OLD_DEPS_CLASSPATH" \ org.apache.spark.tools.GenerateMIMAIgnore