Commit 9da3f2c
committed
[SPARK-53701] Use Java 25 toolchain while supporting Java 17+
### What changes were proposed in this pull request?
This PR aims to start to use `Java 25 (Azul Zulu JDK)` toolchain while supporting Java 17+ from `Apache K8s Operator v0.5`.
### Why are the changes needed?
After this PR, we can take advantage of Java 25 compiler improvements while supporting all Java 17+ versions via `options.release = 17`.
https://github.com/apache/spark-kubernetes-operator/blob/db7e6403fd14ab86c302532423e26d3799a6e4c8/build.gradle#L59
### Does this PR introduce _any_ user-facing change?
- There is no behavior change for users.
- There is no developer experience change in general.
- For the system without Java 25, `Gradle` will automatically download and use it.
- Since we assume that `Gradle Wrapper` downloads `Gradle` itself, most of developers should get Java 25 without any issues.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #336 from dongjoon-hyun/SPARK-53701.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>1 parent db7e640 commit 9da3f2c
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
0 commit comments