You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2026/10/16 15:36:24 UTC
(spark-kubernetes-operator) branch main updated: [SPARK-60291] Drop Java 26 Support
This is an automated email from the ASF dual-hosted git repository.
dongjoon-hyun 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 adf354af [SPARK-60291] Drop Java 26 Support
adf354af is described below
commit adf354af4e9e4b18bf51e59b9dddaf683b17eada
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Fri Oct 16 08:36:17 2026 -0700
[SPARK-60291] Drop Java 26 Support
### What changes were proposed in this pull request?
This PR aims to drop `Java 26` from the unit test matrix of GitHub Actions CI.
- Remove `26` from the `java-version` matrix of the `Build Test CI` job in `build_and_test.yml`.
- Apply `-XX:+UseCompactObjectHeaders` to `Java 25` only. `Java 27` enables it by default via [JEP 534](https://openjdk.org/jeps/534).
- Update `AGENTS.md` accordingly.
### Why are the changes needed?
`Java 26` is a non-LTS release that has been superseded by `Java 27` (September 15, 2026), which is already supported via SPARK-60287. We keep testing the LTS versions (`Java 21` and `Java 25`) and the latest version (`Java 27`) to save CI resources.
### Does this PR introduce _any_ user-facing change?
No, this is a CI-only change.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 5.5
Closes #970 from dongjoon-hyun/SPARK-60291.
Authored-by: Dongjoon Hyun <do...@apache.org>
Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
.github/workflows/build_and_test.yml | 4 ++--
AGENTS.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml
index 586a4cde..548b7ac0 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -33,7 +33,7 @@ jobs:
max-parallel: 20
matrix:
os: [ 'ubuntu-26.04', 'ubuntu-26.04-arm' ]
- java-version: [ 21, 25, 26, 27 ]
+ java-version: [ 21, 25, 27 ]
steps:
- name: Checkout repository
uses: actions/checkout@v7
@@ -48,7 +48,7 @@ jobs:
cache-provider: basic
- name: Run unit tests
run: |
- if [[ "${{ matrix.java-version }}" == "25" || "${{ matrix.java-version }}" == "26" ]]; then
+ if [[ "${{ matrix.java-version }}" == "25" ]]; then
export JDK_JAVA_OPTIONS="-XX:+UseCompactObjectHeaders"
fi
./gradlew test -PtestJavaVersion=${{ matrix.java-version }}
diff --git a/AGENTS.md b/AGENTS.md
index 10c450cf..d556b8f2 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -40,7 +40,7 @@ there, never inline in a module.
**Requirements**
- **JDK 21 or newer** — the Gradle toolchain auto-provisions JDK 27 and targets Java 21 bytecode;
- CI runs unit tests on Java 21 / 25 / 26 / 27.
+ CI runs unit tests on Java 21 / 25 / 27.
- **Docker** — required for `./gradlew buildDockerImage`.
- **Kubernetes cluster** (e.g. minikube), **Helm 3**, and **kubectl** — to deploy and run the
operator.
@@ -114,7 +114,7 @@ chainsaw test --test-dir ./tests/e2e/state-transition --parallel 1
`./gradlew build` runs the full quality gate locally — Checkstyle, PMD, SpotBugs, Spotless, and
JaCoCo. Run it before pushing; CI runs the quality gate once and the unit tests on
-Java 21 / 25 / 26 / 27 (x86 and arm) via `-PtestJavaVersion`.
+Java 21 / 25 / 27 (x86 and arm) via `-PtestJavaVersion`.
## Code Style
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org