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

reiabreu pushed a commit to branch java25-baseline
in repository https://gitbox.apache.org/repos/asf/storm.git

commit 82b51e504942508816e0b426f50b76143eba42a2
Author: Rui Abreu <[email protected]>
AuthorDate: Tue Jul 7 23:41:28 2026 +0100

    Bump Java baseline to 25 on master
    
    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 94f53b5c7..7349ac940 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@1bcf9fb12cf4aa7d266a90ae39939e61372fe520 # 
v5.4.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 8e1ddf052..0b8ba4ead 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@1bcf9fb12cf4aa7d266a90ae39939e61372fe520 # 
v5.4.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 b7f6a5e82..9ee70d066 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@1bcf9fb12cf4aa7d266a90ae39939e61372fe520 # 
v5.4.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 989d6535f..75a55b873 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@1bcf9fb12cf4aa7d266a90ae39939e61372fe520 # 
v5.4.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