srowen commented on a change in pull request #25389: [SPARK-28657][CORE] Fix currentContext Instance failed sometimes URL: https://github.com/apache/spark/pull/25389#discussion_r321278362
########## File path: core/src/main/scala/org/apache/spark/util/Utils.scala ########## @@ -2991,7 +2991,7 @@ private[spark] class CallerContext( if (CallerContext.callerContextSupported) { try { val callerContext = Utils.classForName("org.apache.hadoop.ipc.CallerContext") - val builder = Utils.classForName("org.apache.hadoop.ipc.CallerContext$Builder") + val builder: Class[_] = Utils.classForName("org.apache.hadoop.ipc.CallerContext$Builder") Review comment: OK, that's odd, but without a generic type we should see the same thing in many places. I can't see why this one behaves differently. Maybe so, but I'm worried the cause is actually different. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org