From 335f394653b0dfe0f3543a80bf53972676895868 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Thu, 26 Nov 2009 04:58:41 +0000 Subject: [PATCH] ReflectionUtils.invokeMethod(..) does not accept a null target for static methods in the 3.0 snapshot (currently CI-475). --- .../integration/gateway/GatewayProxyFactoryBeanTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.springframework.integration/src/test/java/org/springframework/integration/gateway/GatewayProxyFactoryBeanTests.java b/org.springframework.integration/src/test/java/org/springframework/integration/gateway/GatewayProxyFactoryBeanTests.java index 7637cb15ae..02ca05f99a 100644 --- a/org.springframework.integration/src/test/java/org/springframework/integration/gateway/GatewayProxyFactoryBeanTests.java +++ b/org.springframework.integration/src/test/java/org/springframework/integration/gateway/GatewayProxyFactoryBeanTests.java @@ -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();