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/04 18:51:26 UTC

(spark-kubernetes-operator) branch main updated: [SPARK-59262] Add Java 27-ea 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 f013e2d  [SPARK-59262] Add Java 27-ea to GitHub Actions
f013e2d is described below

commit f013e2d438c8db4b96480910c581a681b6692751
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Fri Sep 4 11:51:19 2026 -0700

    [SPARK-59262] Add Java 27-ea to GitHub Actions
    
    ### What changes were proposed in this pull request?
    
    This PR aims to add Java `27-ea` to the `build-test` GitHub Actions matrix as the runner environment.
    
    ### Why are the changes needed?
    
    Apache Spark K8s Operator uses a `Java 26` toolchain. Like [SPARK-55737] which added `26-ea` before its GA, this PR only aims to test `Java 27-ea` as the runner environment ahead of the [JDK 27 GA on 2026-09-15](https://openjdk.org/projects/jdk/27/).
    
    Note that `-XX:+UseCompactObjectHeaders` is intentionally left as is, because [JEP 534: Compact Object Headers by Default](https://openjdk.org/jeps/534) makes it the default in Java 27. Passing the flag explicitly would be a no-op there, while Java 25 and 26 still require it.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass the CIs and check the log.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Opus 5
    
    Closes #811 from dongjoon-hyun/SPARK-59262.
    
    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 6b8f63f..087dca0 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -29,7 +29,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-ea' ]
     steps:
       - name: Checkout repository
         uses: actions/checkout@v6


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