hemanthumashankar0511 opened a new pull request, #6348:
URL: https://github.com/apache/hive/pull/6348

   What changes were proposed in this pull request?
   This PR upgrades the Apache Ant version from 1.10.13 to 1.10.15. The change 
is implemented by updating the <ant.version> property in the root pom.xml, 
which centralizes the version management for all child modules including ql, 
common, and vector-code-gen.
   
   Why are the changes needed?
   The upgrade is necessary to improve compatibility with modern Java 
environments and address internal build-tool bugs:
   
   Java 22+ Support: Ant 1.10.15 officially adds support for Java 22 and higher.
   
   JDK Compatibility: It fixes an issue (Bugzilla 68460) where Ant referenced 
internal JDK classes that have been removed in newer Java versions, which could 
lead to build failures in modern environments.
   
   Security & Stability: It includes important fixes for the junitlauncher task 
and security-related improvements for temporary file handling introduced in the 
1.10.x line.
   
   Does this PR introduce any user-facing change?
   No. This is strictly a change to the build-time dependency and does not 
affect Hive's runtime APIs or SQL features.
   
   How was this patch tested?
   The following verification steps were performed locally to ensure no 
regressions in code generation or build stability:
   
   Property Resolution: Confirmed that ${ant.version} correctly resolves to 
1.10.15 using mvn help:evaluate -Dexpression=ant.version.
   
   Dependency Tree: Verified that no older versions of Ant are being pulled in 
transitively using mvn dependency:tree -Dincludes=org.apache.ant:ant.
   
   Code Generation Check: Successfully built modules that rely on Ant for code 
and grammar generation: mvn clean install -pl ql,vector-code-gen -DskipTests.
   
   Unit Test Sanity: Ran parser tests in the ql module to ensure the generated 
grammar remains functional: mvn test -pl ql -Dtest=TestParse.


-- 
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