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/orc.git


The following commit(s) were added to refs/heads/main by this push:
     new 14ebfa365 ORC-2110: Enable `Java 25` to build and verify all tests
14ebfa365 is described below

commit 14ebfa36522f11ed35a81f96cd038541ee2b5f5a
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Tue Feb 24 20:38:16 2026 -0800

    ORC-2110: Enable `Java 25` to build and verify all tests
    
    ### What changes were proposed in this pull request?
    
    This PR aims to enable `Java 25` to build and verify all tests for Apache 
ORC 2.3.0.
    
    ### Why are the changes needed?
    
    It's ready to run and test with Java 25 because we depends on `Apache 
Hadoop 3.4.3`.
    - #2503
    - #2556
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    <img width="719" height="94" alt="Screenshot 2026-02-24 at 20 35 23" 
src="https://github.com/user-attachments/assets/f3745f50-ed5b-49a2-af67-9ae4f87233e1";
 />
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: `Gemini 3.1 Pro (High)` on `Antigravity`
    
    Closes #2555 from dongjoon-hyun/ORC-2110.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .github/workflows/build_and_test.yml | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index d5e7f7685..3b8e0ce9e 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -76,6 +76,7 @@ jobs:
         java:
           - 17
           - 21
+          - 25
         cxx:
           - clang++
         include:
@@ -85,8 +86,6 @@ jobs:
           - os: ubuntu-24.04-arm
             java: 17
             cxx: clang++
-          - os: ubuntu-latest
-            java: 25
     env:
       MAVEN_OPTS: -Xmx2g
       MAVEN_SKIP_RC: true
@@ -102,18 +101,10 @@ jobs:
     - name: "Test"
       run: |
         mkdir -p ~/.m2
-        if [ "${{ matrix.java }}" = "25" ]; then
-          cd java
-          # JDK 25 Build
-          ./mvnw package -DskipTests
-          # JDK 25 Test: shims, core, tools modules
-          ./mvnw package --pl tools --am
-        else
-          mkdir build
-          cd build
-          cmake -DANALYZE_JAVA=ON -DOPENSSL_ROOT_DIR=`brew --prefix 
[email protected]` ..
-          make package test-out
-        fi
+        mkdir build
+        cd build
+        cmake -DANALYZE_JAVA=ON -DOPENSSL_ROOT_DIR=`brew --prefix [email protected]` 
..
+        make package test-out
     - name: Step on failure
       if: ${{ failure() }}
       run: |

Reply via email to