Skip to content

Commit

Permalink
[SPARK-43832][BUILD] Upgrade Scala to 2.12.18
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?
This PR aims to upgrade Scala to 2.12.18
- https://www.scala-lang.org/news/2.12.18

### Why are the changes needed?
This release adds support for JDK 20 and 21:
- scala/scala#10185
- scala/scala#10362
- scala/scala#10397
- scala/scala#10400

The full release notes as follows:

- https://github.com/scala/scala/releases/tag/v2.12.18

### Does this PR introduce _any_ user-facing change?
Yes, this is a Scala version change.

### How was this patch tested?
Existing Test

Closes #41627 from LuciferYang/SPARK-43832.

Authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
  • Loading branch information
LuciferYang authored and dongjoon-hyun committed Jun 18, 2023
1 parent 4e0bd3c commit e38c586
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dev/deps/spark-deps-hadoop-3-hive-2.3
Expand Up @@ -225,10 +225,10 @@ py4j/0.10.9.7//py4j-0.10.9.7.jar
remotetea-oncrpc/1.1.2//remotetea-oncrpc-1.1.2.jar
rocksdbjni/8.1.1.1//rocksdbjni-8.1.1.1.jar
scala-collection-compat_2.12/2.7.0//scala-collection-compat_2.12-2.7.0.jar
scala-compiler/2.12.17//scala-compiler-2.12.17.jar
scala-library/2.12.17//scala-library-2.12.17.jar
scala-compiler/2.12.18//scala-compiler-2.12.18.jar
scala-library/2.12.18//scala-library-2.12.18.jar
scala-parser-combinators_2.12/2.2.0//scala-parser-combinators_2.12-2.2.0.jar
scala-reflect/2.12.17//scala-reflect-2.12.17.jar
scala-reflect/2.12.18//scala-reflect-2.12.18.jar
scala-xml_2.12/2.1.0//scala-xml_2.12-2.1.0.jar
shims/0.9.44//shims-0.9.44.jar
slf4j-api/2.0.7//slf4j-api-2.0.7.jar
Expand Down
2 changes: 1 addition & 1 deletion docs/_config.yml
Expand Up @@ -22,7 +22,7 @@ include:
SPARK_VERSION: 3.5.0-SNAPSHOT
SPARK_VERSION_SHORT: 3.5.0
SCALA_BINARY_VERSION: "2.12"
SCALA_VERSION: "2.12.17"
SCALA_VERSION: "2.12.18"
MESOS_VERSION: 1.0.0
SPARK_ISSUE_TRACKER_URL: https://issues.apache.org/jira/browse/SPARK
SPARK_GITHUB_URL: https://github.com/apache/spark
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -168,7 +168,7 @@
<!-- managed up from 3.2.1 for SPARK-11652 -->
<commons.collections.version>3.2.2</commons.collections.version>
<commons.collections4.version>4.4</commons.collections4.version>
<scala.version>2.12.17</scala.version>
<scala.version>2.12.18</scala.version>
<scala.binary.version>2.12</scala.binary.version>
<scalatest-maven-plugin.version>2.2.0</scalatest-maven-plugin.version>
<!-- dont update scala-maven-plugin to version 4.8.1 SPARK-42809 and SPARK-43595 -->
Expand Down Expand Up @@ -3556,7 +3556,7 @@
SPARK-34774 Add this property to ensure change-scala-version.sh can replace the public `scala.version`
property correctly.
-->
<scala.version>2.12.17</scala.version>
<scala.version>2.12.18</scala.version>
</properties>
<build>
<pluginManagement>
Expand Down

0 comments on commit e38c586

Please sign in to comment.