ReflectionUtils.invokeMethod(..) does not accept a null target for static methods in the 3.0 snapshot (currently CI-475).
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user