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/09/25 05:17:41 UTC

(spark-kubernetes-operator) branch main updated: [SPARK-59262] Add Java 27 to GitHub Actions

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 1c676225 [SPARK-59262] Add Java 27 to GitHub Actions
1c676225 is described below

commit 1c676225514c747b9f24bcb8c1e7e5a2452980b3
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Thu Sep 24 22:17:34 2026 -0700

    [SPARK-59262] Add Java 27 to GitHub Actions
    
    ### What changes were proposed in this pull request?
    
    This PR aims to add Java `27` to the `build-test` GitHub Actions matrix as the runner environment.
    
    ### Why are the changes needed?
    
    [JDK 27](https://openjdk.org/projects/jdk/27/) reached General Availability on 2026-09-15. Apache Spark K8s Operator uses a `Java 26` toolchain, so this PR only adds `Java 27` as a runner environment to make sure the build and the unit tests keep working on the latest Java release.
    
    Note that `-XX:+UseCompactObjectHeaders` is still passed only for Java 25 and 26. [JEP 534: Compact Object Headers by Default](https://openjdk.org/jeps/534) makes it the default in Java 27, so the flag would do nothing there.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No. This is a test-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 #887 from dongjoon-hyun/dongjoon/java-26-github-action-66d565.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 .github/workflows/build_and_test.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml
index 176289dc..c4146837 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 ]
+        java-version: [ 21, 25, 26, 27 ]
     steps:
       - name: Checkout repository
         uses: actions/checkout@v7


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org