[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 <stitch106hy@gmail.com>
Co-authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 5d0889bf36
)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
This commit is contained in:
parent
61d7f1da1b
commit
f093f3b939
1
dev/mima
1
dev/mima
|
@ -43,6 +43,7 @@ fi
|
||||||
|
|
||||||
$JAVA_CMD \
|
$JAVA_CMD \
|
||||||
-Xmx2g \
|
-Xmx2g \
|
||||||
|
-XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.util.jar=ALL-UNNAMED \
|
||||||
-cp "$TOOLS_CLASSPATH:$OLD_DEPS_CLASSPATH" \
|
-cp "$TOOLS_CLASSPATH:$OLD_DEPS_CLASSPATH" \
|
||||||
org.apache.spark.tools.GenerateMIMAIgnore
|
org.apache.spark.tools.GenerateMIMAIgnore
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue