[seam-commits] Seam SVN: r9918 - trunk/src/main/org/jboss/seam/util.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Mon Jan 12 13:35:06 EST 2009
Author: norman.richards at jboss.com
Date: 2009-01-12 13:35:06 -0500 (Mon, 12 Jan 2009)
New Revision: 9918
Modified:
trunk/src/main/org/jboss/seam/util/DelegatingInvocationHandler.java
Log:
JBSEAM-3792
Modified: trunk/src/main/org/jboss/seam/util/DelegatingInvocationHandler.java
===================================================================
--- trunk/src/main/org/jboss/seam/util/DelegatingInvocationHandler.java 2009-01-12 18:14:16 UTC (rev 9917)
+++ trunk/src/main/org/jboss/seam/util/DelegatingInvocationHandler.java 2009-01-12 18:35:06 UTC (rev 9918)
@@ -2,6 +2,7 @@
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
+import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -87,12 +88,13 @@
if (target == null)
{
throw new IllegalStateException("Proxied session does not implement method " + method.getName() +
- " with args [" + args + "]");
+ " with args [" + (args == null ? null : Arrays.asList(args)) + "]");
}
if (log.isTraceEnabled())
{
- log.trace("Delegating method " + method.getName() + " with args " + args);
+ log.trace("Delegating method " + method.getName() + " with args " +
+ (args == null ? null : Arrays.asList(args)));
}
return target.method.invoke(target.target, args);
More information about the seam-commits
mailing list