This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new c07e61e [SPARK-53607] Support Java 25
c07e61e is described below
commit c07e61eaf17b785777b49a078efe085f18164d3a
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Sep 17 14:50:39 2025 -0700
[SPARK-53607] Support Java 25
### What changes were proposed in this pull request?
This PR aims to support Java 25.
### Why are the changes needed?
To support the latest JDK version.
- https://openjdk.org/projects/jdk/25/
### Does this PR introduce _any_ user-facing change?
No behavior change.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #317 from dongjoon-hyun/SPARK-53607.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.github/workflows/build_and_test.yml | 2 +-
build-tools/docker/Dockerfile | 2 +-
build.gradle | 2 +-
docs/operations.md | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/build_and_test.yml
b/.github/workflows/build_and_test.yml
index 726f1dc..589607b 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -35,7 +35,7 @@ jobs:
fail-fast: false
matrix:
os: [ 'ubuntu-latest', 'ubuntu-24.04-arm' ]
- java-version: [ 17, 21, 24 ]
+ java-version: [ 17, 21, 25 ]
steps:
- name: Checkout repository
uses: actions/checkout@v5
diff --git a/build-tools/docker/Dockerfile b/build-tools/docker/Dockerfile
index 554e47e..a32a4a6 100644
--- a/build-tools/docker/Dockerfile
+++ b/build-tools/docker/Dockerfile
@@ -22,7 +22,7 @@ COPY . .
RUN --mount=type=cache,target=/home/gradle/.gradle/caches gradle --no-daemon
clean build -x check
-FROM azul/zulu-openjdk:24-jre
+FROM azul/zulu-openjdk:25-jre
ARG APP_VERSION=0.5.0-SNAPSHOT
ARG SPARK_UID=185
diff --git a/build.gradle b/build.gradle
index e88cb5d..91e643f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -71,7 +71,7 @@ subprojects {
showViolations = true
}
- if (JavaVersion.current() < JavaVersion.VERSION_24) {
+ if (JavaVersion.current() < JavaVersion.VERSION_25) {
apply plugin: 'pmd'
pmd {
ruleSetFiles = files("$rootDir/config/pmd/ruleset.xml")
diff --git a/docs/operations.md b/docs/operations.md
index b7fe0dc..01154c9 100644
--- a/docs/operations.md
+++ b/docs/operations.md
@@ -21,7 +21,7 @@ under the License.
## Compatibility
-- Java 17, 21 and 24
+- Java 17, 21 and 25
- Kubernetes version compatibility:
- k8s version >= 1.30 is recommended. Operator attempts to be API compatible
as possible, but
patch support will not be performed on k8s versions that reached EOL.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]