diff --git a/org.springframework.core/src/main/java/org/springframework/util/ReflectionUtils.java b/org.springframework.core/src/main/java/org/springframework/util/ReflectionUtils.java index 7e65495895e..170c948f940 100644 --- a/org.springframework.core/src/main/java/org/springframework/util/ReflectionUtils.java +++ b/org.springframework.core/src/main/java/org/springframework/util/ReflectionUtils.java @@ -193,9 +193,6 @@ public abstract class ReflectionUtils { * @return the invocation result, if any */ public static Object invokeMethod(Method method, Object target, Object... args) { - if (target == null) { - throw new IllegalArgumentException("target cannot be null"); - } try { return method.invoke(target, args); }