sarutak commented on code in PR #52956:
URL: https://github.com/apache/spark/pull/52956#discussion_r2523901036
##########
common/utils/src/main/scala/org/apache/spark/util/ClosureCleaner.scala:
##########
@@ -596,6 +611,173 @@ private[spark] object ClosureCleaner extends Logging {
}
obj
}
+
+ def convertIndyLambdaForJava22[F <: AnyRef](
+ indyLambda: F,
+ outerThis: AnyRef,
+ lambdaProxy: SerializedLambda): Option[F] = {
+ if (Runtime.version().feature() >= 22) {
Review Comment:
Sorry for my late reply. Having a internal config to switch back to the
original approach makes sense.
--
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]