pan3793 commented on issue #56939: URL: https://github.com/apache/spark/issues/56939#issuecomment-4863210594
@andrey-borisov-patrianna, teach your AI agent to read the [Spark version policy](https://spark.apache.org/versioning-policy.html) and the release notes history instead of relying on common knowledge to make statements. Spark 4.2 is in the RC phase; no more features will be accepted. Java 26 is a stable version, but it is a non-LTS version, the current Java LTS version is 25, and the next LTS version is 29. Spark depends on many third-party dependencies, and it's unrealistic to fix all of them to be compatible with a new JDK in a short time, this generally takes years to complete even with active participation. That's why many projects choose to support Java LTS versions only. I raised a fix https://github.com/apache/spark/pull/56954 to make the cleaner work on JDK 26, you are welcome to review and test this patch. If you have a different idea, please open a new PR to demonstrate your proposal. > I'd lean toward migrating off the internal API entirely — falling back to the public java.lang.ref.Cleaner (available since JDK 9), or dropping the internal-cleaner path where it's no longer needed. -- 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]
