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

   ### What changes were proposed in this pull request?
   
   This PR fixes comments that still refer to Java 17 even though Java 21 is 
now the minimum:
   
   - `dev/scalastyle`, `project/SparkBuild.scala`: "Java 17/25 Maven build" -> 
"Java 21/25 Maven build" (matches the current `build_maven_java21*` / 
`build_maven_java25` workflows).
   - `JavaModuleOptions.java`: the module options are described as required for 
Java 21.
   - `CodeCompiler.scala`: drop the description of the JDK 17 lambda class name 
shape, which no longer exists.
   - `VariantUtil.java`: drop "platform-dependent on Java 17" for the default 
charset (UTF-8 is the default since JDK 18).
   - `SparkConnectDatabaseMetaData.scala`: refer to JDK 21 and the `javase/21` 
API docs link.
   
   Comments describing historical Java 17 behavior (e.g. SPARK-37106, 
`format_string`, `B` day period pattern) and configuration files are 
intentionally left unchanged.
   
   ### Why are the changes needed?
   
   SPARK-60669 raised the minimum Java version to 21. These comments are now 
wrong or misleading.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. Comment-only change.
   
   ### How was this patch tested?
   
   Pass the CIs. No code change.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Sonnet 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