[jboss-cvs] JBossAS SVN: r65608 - branches/Branch_AOP_1_5/aop/src/main/org/jboss/aop/instrument.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Sep 25 14:27:08 EDT 2007
Author: flavia.rainone at jboss.com
Date: 2007-09-25 14:27:08 -0400 (Tue, 25 Sep 2007)
New Revision: 65608
Modified:
branches/Branch_AOP_1_5/aop/src/main/org/jboss/aop/instrument/CallerTransformer.java
Log:
[JBAOP-464] Bug solved.
Modified: branches/Branch_AOP_1_5/aop/src/main/org/jboss/aop/instrument/CallerTransformer.java
===================================================================
--- branches/Branch_AOP_1_5/aop/src/main/org/jboss/aop/instrument/CallerTransformer.java 2007-09-25 18:20:02 UTC (rev 65607)
+++ branches/Branch_AOP_1_5/aop/src/main/org/jboss/aop/instrument/CallerTransformer.java 2007-09-25 18:27:08 UTC (rev 65608)
@@ -312,12 +312,11 @@
public void edit(MethodCall call) throws CannotCompileException
{
+ String classname = call.getClassName();
+ String methodName = call.getMethodName();
try
{
//System.out.println("XXX Call " + call.getMethodName() + " " + call.getMethod().getSignature() + " from " + callingClass.getName() + " - " + call.where().getName());
-
- String classname = call.getClassName();
- String methodName = call.getMethodName();
if (ClassAdvisor.isWithoutAdvisement(methodName)
|| methodName.startsWith("_")
|| classname.startsWith("org.jboss.aop")
@@ -359,7 +358,7 @@
}
catch (Exception ex)
{
- System.err.println("error getting:" + call.getClassName() + ". '" + call.getMethodName() + "'");
+ System.err.println("error getting:" + classname + ". '" + methodName + "'");
ex.printStackTrace();
throw new CannotCompileException(ex);
}
More information about the jboss-cvs-commits
mailing list