pan3793 commented on PR #43151:
URL: https://github.com/apache/spark/pull/43151#issuecomment-1738726641
> Can `getMSCMethod` use `findMethod()` now?
I think no, `findMethod` only works for public method.
```
protected def findMethod(klass: Class[_], name: String, args: Class[_]*):
Method = {
klass.getMethod(name, args: _*)
}
```
BTW, to make the change clear, the change in this PR is conservative, in the
next step, we can replace some method reflection with direct API call.
--
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]