# 🔍 Description ## Issue References 🔗 This pull request fixes #5314 ## Describe Your Solution 🔧 To support Java 21, some dependency packages need to be upgraded.Here is the detailed explanation. 1. To build with Java 21, Scala binary version needs to be upgraded to 2.13.11 or above. 2. The versions of `spotless` and `googlejavaformat` need to be upgraded to higher versions. However, this will lose support for Java 8. In order to continue supporting Java 8, code style checks will be ignored in the Java 21 profile. 3. Since the Flink engine does not support Scala 2.13, the Scala version of the Flink module is fixed at 2.12. Previous discussions were at https://github.com/apache/kyuubi/pull/6306. --- ## Types of changes 🔖 - [ ] Bugfix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) --- **Be nice. Be informative.** Closes #6597 from dupen01/issue-java21. Closes #5314 0c5a9e455 [Cheng Pan] simplify 54cbadf79 [dupeng] java21+scala2.13.11+flink_2.12+CI(spark4,21,2,13) Lead-authored-by: dupeng <dunett@163.com> Co-authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org> |
||
|---|---|---|
| .. | ||
| actions | ||
| ISSUE_TEMPLATE | ||
| scripts | ||
| workflows | ||
| labeler.yml | ||
| PULL_REQUEST_TEMPLATE | ||