bowenliang123 commented on PR #4887: URL: https://github.com/apache/kyuubi/pull/4887#issuecomment-1566167711
> > Can I move the `isClassLoadable` method from `kyuubi-util-scala`'s `ReflectUtils` to `kyuubi-util`'s `DynClasses` as a static method for Java as well ? @pan3793 > > It's fine if other places can benefit from it, but since Java does not support the default value, it should be broken into multi-methods OK, let's leave it in Scala module for now. As for Java, it's handy to use workaround `DynClasses.builder().loader(cl).impl(className).orNull().build() != null` for checking the class loadable. -- 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]
