dongjoon-hyun opened a new pull request, #60590:
URL: https://github.com/apache/spark/pull/60590

   ### What changes were proposed in this pull request?
   
   This PR aims to upgrade Checkstyle to 14.4.0 from 11.0.1.
   
   In addition, this PR fixes two Javadoc comments that the new Javadoc grammar 
of Checkstyle 12+ fails to parse by wrapping them with `{@code ...}`.
   - `OrcColumnStatistics`: `map<key: int, value: string>` is parsed as an HTML 
tag.
   - `RemoteBlockPushResolver`: `@see [[...]]` is a Scaladoc link syntax, not a 
Javadoc one.
   
   ### Why are the changes needed?
   
   Since Apache Spark 5.0.0 requires Java 21 (SPARK-60669), we can use 
Checkstyle 13+, which requires Java 21.
   - 
[checkstyle-14.4.0](https://github.com/checkstyle/checkstyle/releases/tag/checkstyle-14.4.0)
 (2026-10-31)
   - 
[checkstyle-14.0.0](https://github.com/checkstyle/checkstyle/releases/tag/checkstyle-14.0.0)
 (2026-08-18)
       - https://github.com/checkstyle/checkstyle/issues/8240 (Java Grammar: 
`module-info.java` support)
   - 
[checkstyle-13.0.0](https://github.com/checkstyle/checkstyle/releases/tag/checkstyle-13.0.0)
 (2026-01-04)
       - https://github.com/checkstyle/checkstyle/issues/17430 (Use JDK 21 as 
the minimal requirement)
   - 
[checkstyle-12.0.0](https://github.com/checkstyle/checkstyle/releases/tag/checkstyle-12.0.0)
 (2025-10-09)
       - https://github.com/checkstyle/checkstyle/issues/17514 (New ANTLR 
Grammar for Javadoc Comments)
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, this is a kind of test environment during building.
   
   ### How was this patch tested?
   
   Pass the CIs (`Linters, licenses, and dependencies` job runs `dev/lint-java` 
with Maven).
   
   In addition, I manually ran SBT Checkstyle with all the lint profiles and 
verified that Checkstyle 14.4.0 reports no new violation compared to Checkstyle 
11.0.1.
   
   ```
   $ build/sbt -Pkinesis-asl -Pcredential-aws -Pspark-ganglia-lgpl -Pkubernetes 
-Pyarn -Phive -Phive-thriftserver -Pjvm-profiler checkstyle Test/checkstyle
   ```
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 5.5


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