Community
Participate
Working Groups
Build Identifier: 1.2.0.v201112061230 the call to Method method = (Method) fieldMethodCache.get(obj.getClass().getName() + "." + methodName); inside FieldUtil.callMethod is not necessary because all methods are registered in filedMethodCache with their method parameters length like the following fieldMethodCache.put(obj.getClass().getName() + "." + methodName + "." + (params == null ? 0 : params.length), method); Also check if having only the number of parameters in the method key is enough when there are overloaded methods. Maybe we need to pass also the method parameter types when calling this function (not only the actual parameters) Reproducible: Always
I pushed a solution, will be in the next build. I did not make the change to also check the parameter type. This method is mainly used internally and I could not find a common reason to overload the called methods with a different one with different parameter types.
Build is done and published