This is an automated email from the ASF dual-hosted git repository.

GGraziadei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/storm.git


The following commit(s) were added to refs/heads/master by this push:
     new 667f90929 Bump Java baseline to 25 on master (#8893)
667f90929 is described below

commit 667f90929b1e98e8f5f044fe2695a080735e80ec
Author: reiabreu <[email protected]>
AuthorDate: Sat Jul 11 20:39:47 2026 +0100

    Bump Java baseline to 25 on master (#8893)
    
    Move master off Java 21 and onto Java 25 (LTS) as the exclusive build
    and test JDK. The main motivation is JEP 491, which landed in Java 24
    and is carried into the 25 LTS: virtual threads no longer pin their
    carrier when blocking inside a synchronized block, removing a key
    constraint on adopting VTs in Storm's I/O-bound paths.
    
    Changes:
    - pom.xml: javaVersion 21 → 25
    - maven.yaml: build job uses JDK 25; test matrix drops 21, keeps only 25
    - nightlies.yaml, snapshots.yaml, update-license-files.yml: JDK 21 → 25
    
    Co-authored-by: Claude Sonnet 4.6 <[email protected]>
---
 .github/workflows/maven.yaml               | 8 ++++----
 .github/workflows/nightlies.yaml           | 4 ++--
 .github/workflows/snapshots.yaml           | 4 ++--
 .github/workflows/update-license-files.yml | 4 ++--
 pom.xml                                    | 2 +-
 5 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index ee908c682..1f407ccbb 100644
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@ -22,7 +22,7 @@ on:
     branches: [ "master" ]
 
 jobs:
-  # Compile once on the minimum supported JDK (21) and share artifacts with 
test jobs
+  # Compile once on JDK 25 and share artifacts with test jobs
   build:
     runs-on: ubuntu-latest
     timeout-minutes: 30
@@ -38,11 +38,11 @@ jobs:
         uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # 
v6.3.0
         with:
           python-version: '3.10'
-      - name: Set up JDK 21
+      - name: Set up JDK 25
         uses: actions/setup-java@0f481fcb613427c0f801b606911222b5b6f3083a # 
v5.5.0
         with:
           distribution: temurin
-          java-version: 21
+          java-version: 25
       - name: Ensure a clean state without storm artifacts
         run: rm -rf ~/.m2/repository/org/apache/storm
       - name: Build project (compile + install, skip tests)
@@ -66,7 +66,7 @@ jobs:
     timeout-minutes: 45
     strategy:
       matrix:
-        java: [ 21, 25 ]
+        java: [ 25 ]
         module: [ Client, Server, Core, External, Integration-Test ]
         experimental: [false]
       fail-fast: false
diff --git a/.github/workflows/nightlies.yaml b/.github/workflows/nightlies.yaml
index cec40ade0..9492ec44e 100644
--- a/.github/workflows/nightlies.yaml
+++ b/.github/workflows/nightlies.yaml
@@ -40,11 +40,11 @@ jobs:
         uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # 
v6.3.0
         with:
           python-version: '3.10'
-      - name: Set up JDK 21
+      - name: Set up JDK 25
         uses: actions/setup-java@0f481fcb613427c0f801b606911222b5b6f3083a # 
v5.5.0
         with:
           distribution: temurin
-          java-version: 21
+          java-version: 25
       - name: Ensure a clean state without storm artifacts
         run: rm -rf ~/.m2/repository/org/apache/storm
       - name: Set up project dependencies
diff --git a/.github/workflows/snapshots.yaml b/.github/workflows/snapshots.yaml
index 025facb8e..a13431bed 100644
--- a/.github/workflows/snapshots.yaml
+++ b/.github/workflows/snapshots.yaml
@@ -40,11 +40,11 @@ jobs:
         uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # 
v6.3.0
         with:
           python-version: '3.10'
-      - name: Set up JDK 21
+      - name: Set up JDK 25
         uses: actions/setup-java@0f481fcb613427c0f801b606911222b5b6f3083a # 
v5.5.0
         with:
           distribution: temurin
-          java-version: 21
+          java-version: 25
       - id: extract_version
         name: Extract project version
         shell: bash
diff --git a/.github/workflows/update-license-files.yml 
b/.github/workflows/update-license-files.yml
index c43b70a10..5d48bdd33 100644
--- a/.github/workflows/update-license-files.yml
+++ b/.github/workflows/update-license-files.yml
@@ -42,11 +42,11 @@ jobs:
         with:
           python-version: '3.10'
 
-      - name: Set up JDK 21
+      - name: Set up JDK 25
         uses: actions/setup-java@0f481fcb613427c0f801b606911222b5b6f3083a # 
v5.5.0
         with:
           distribution: temurin
-          java-version: 21
+          java-version: 25
 
       - name: Ensure clean state without storm artifacts
         run: rm -rf ~/.m2/repository/org/apache/storm
diff --git a/pom.xml b/pom.xml
index a1c1eaea6..85f50fc0c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,7 +68,7 @@
     </issueManagement>
 
     <properties>
-        <javaVersion>21</javaVersion>
+        <javaVersion>25</javaVersion>
         <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
         <maven.javadoc.failOnWarnings>false</maven.javadoc.failOnWarnings>
 

Reply via email to