dongjoon-hyun commented on code in PR #47209: URL: https://github.com/apache/spark/pull/47209#discussion_r1669610815
########## common/utils/src/main/scala/org/apache/spark/util/SparkClassUtils.scala: ########## @@ -50,6 +50,25 @@ private[spark] trait SparkClassUtils { def classIsLoadable(clazz: String): Boolean = { Try { classForName(clazz, initialize = false) }.isSuccess } + + /** + * Determines whether the provided class is loadable in the current thread and a subclass Review Comment: `isAssignableFrom` is border than `a subclass of the given parent class`, isn't it? Maybe, `classIsLoadableAndAssignableFrom` instead of `classIsLoadableAndSubOf`? -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org