Yao-MR opened a new pull request, #12012:
URL: https://github.com/apache/gluten/pull/12012

   <!--
   Thank you for submitting a pull request! Here are some tips:
   
   1. For first-time contributors, please read our contributing guide:
      https://github.com/apache/gluten/blob/main/CONTRIBUTING.md
   2. If necessary, create a GitHub issue for discussion beforehand to avoid 
duplicate work.
   3. If the PR is specific to a single backend, include [VL] or [CH] in the PR 
title to indicate the
      Velox or ClickHouse backend, respectively.
   4. If the PR is not ready for review, please mark it as a draft.
   -->
   
   ## What changes are proposed in this pull request?
   
   Add JDK 25 build support for Gluten with Spark 4.0+ (Velox backend).
   
   Key changes:
   1. **pom.xml**: Added `java-25` Maven profile with the following 
configurations:
      - Set `scala.release.version` to `21` since Scala 2.13 does not support 
`-release:25`
      - Set `maven.compiler.source/target` to `21` to avoid Scala emit errors 
with target `25`
      - Upgraded `spotless.version` to `2.44.4` and `googlejavaformat.version` 
to `1.25.2`
      - Disabled spotless check (`spotless.check.skip=true`) as 
spotless-maven-plugin 2.44.x is incompatible with JDK 25 due to internal API 
removal 
(`com.sun.tools.javac.util.Log$DeferredDiagnosticHandler.getDiagnostics()`)
      - Added `java-25` to the `requireActiveProfile` rules for Spark 4.0 and 
4.1 enforcer checks
   2. **tools/gluten-it/pom.xml**: Added `java-25` profile with compatible 
spotless and google-java-format versions
   3. **.github/workflows/velox_backend_x86.yml**: Added `java-25` to the CI 
build matrix, excluded it from Spark 3.x builds and Ubuntu 20.04 (which lacks 
openjdk-25 packages)
   4. **docs/developers/NewToGluten.md**: Updated documentation to mention JDK 
21 and 25 support for Spark 4.0+
   
   <!--
   Provide a clear and concise description of the changes introduced in this PR.
   Ensure the PR description aligns with the code changes, especially after 
updates.
   If applicable, include "Fixes #<GitHub_Issue_ID>" to automatically close the 
corresponding issue
   when the PR is merged.
   -->
   
   ## How was this patch tested?
   
   Build completed successfully.
   
   <!--
   Describe how the changes were tested, if applicable.
   Include new tests to validate the functionality, if necessary.
   For UI-related changes, attach screenshots to demonstrate the updates.
   -->
   
   ## Was this patch authored or co-authored using generative AI tooling?
   
   <!--
   If generative AI tooling has been used in the process of authoring this 
patch, please include the
   phrase: 'Generated-by: ' followed by the name of the tool and its version.
   If no, write 'No'.
   Please refer to the [ASF Generative Tooling 
Guidance](https://www.apache.org/legal/generative-tooling.html) for details.
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to