You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2021/09/17 15:56:34 UTC
[spark] branch master updated: [SPARK-36780][BUILD] Make `dev/mima`
runs on Java 17
This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 5d0889b [SPARK-36780][BUILD] Make `dev/mima` runs on Java 17
5d0889b is described below
commit 5d0889bf363522968a50b928014ba68bf18966ea
Author: Yang He <st...@gmail.com>
AuthorDate: Fri Sep 17 08:54:49 2021 -0700
[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 <st...@gmail.com>
Co-authored-by: Dongjoon Hyun <do...@apache.org>
Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
dev/mima | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev/mima b/dev/mima
index dd0532f..6c32d6c 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
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org