[jboss-cvs] JBossAS SVN: r74579 - projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/handler/session.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Jun 15 14:03:41 EDT 2008
Author: ALRubinger
Date: 2008-06-15 14:03:41 -0400 (Sun, 15 Jun 2008)
New Revision: 74579
Modified:
projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/handler/session/SessionProxyInvocationHandlerBase.java
Log:
[EJBTHREE-1345] Don't adjust null invocation args to empty array, improve logging
Modified: projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/handler/session/SessionProxyInvocationHandlerBase.java
===================================================================
--- projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/handler/session/SessionProxyInvocationHandlerBase.java 2008-06-15 18:02:37 UTC (rev 74578)
+++ projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/handler/session/SessionProxyInvocationHandlerBase.java 2008-06-15 18:03:41 UTC (rev 74579)
@@ -83,14 +83,7 @@
// Set the invoked method
SerializableMethod invokedMethod = new SerializableMethod(method);
this.setInvokedMethod(invokedMethod);
-
- // Adjust for null arguments
- if (args == null)
- {
- args = new Object[]
- {};
- }
-
+
// Attempt to handle directly
try
{
@@ -99,7 +92,7 @@
// Ignore this, we just couldn't handle here
catch (NotEligibleForDirectInvocationException nefdie)
{
- log.debug("Couldn't handle invocation directly within Proxy " + InvocationHandler.class.getName() + ": "
+ log.debug("Couldn't handle invocation directly within " + this + ": "
+ nefdie.getMessage());
}
More information about the jboss-cvs-commits
mailing list