Remove unnecessary method.isAccessible() invocation
Closes gh-32548
This commit is contained in:
@@ -305,7 +305,7 @@ public class InvocableHandlerMethod extends HandlerMethod {
|
||||
if (function == null) {
|
||||
return method.invoke(target, args);
|
||||
}
|
||||
if (method.isAccessible() && !KCallablesJvm.isAccessible(function)) {
|
||||
if (!KCallablesJvm.isAccessible(function)) {
|
||||
KCallablesJvm.setAccessible(function, true);
|
||||
}
|
||||
Map<KParameter, Object> argMap = CollectionUtils.newHashMap(args.length + 1);
|
||||
|
||||
Reference in New Issue
Block a user