ReflectionUtils.invokeMethod(..) does not accept a null target for static methods in the 3.0 snapshot (currently CI-475).

This commit is contained in:
Mark Fisher
2009-11-26 04:58:41 +00:00
parent 6f82886c35
commit 335f394653

View File

@@ -227,7 +227,7 @@ public class GatewayProxyFactoryBeanTests {
public void handleMessage(Message<?> message) {
Method method = ReflectionUtils.findMethod(
GatewayProxyFactoryBeanTests.class, "throwTestException");
ReflectionUtils.invokeMethod(method, null);
ReflectionUtils.invokeMethod(method, this);
}
});
consumer.start();