[jboss-cvs] JBossAS SVN: r60732 - 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 Feb 20 15:43:19 EST 2007
Author: flavia.rainone at jboss.com
Date: 2007-02-20 15:43:19 -0500 (Tue, 20 Feb 2007)
New Revision: 60732
Modified:
branches/Branch_AOP_1_5/aop/src/main/org/jboss/aop/instrument/Instrumentor.java
Log:
[JBAOP-362] Fixed check on inheritance for interface introduction.
Modified: branches/Branch_AOP_1_5/aop/src/main/org/jboss/aop/instrument/Instrumentor.java
===================================================================
--- branches/Branch_AOP_1_5/aop/src/main/org/jboss/aop/instrument/Instrumentor.java 2007-02-20 20:34:17 UTC (rev 60731)
+++ branches/Branch_AOP_1_5/aop/src/main/org/jboss/aop/instrument/Instrumentor.java 2007-02-20 20:43:19 UTC (rev 60732)
@@ -337,7 +337,7 @@
private void addIntroductionPointcutInterface(CtClass clazz, Advisor advisor, String intf, HashMap baseMethods) throws Exception
{
CtClass iface = classPool.get(intf);
- if (!clazz.subtypeOf(iface) || clazz.subclassOf(iface))
+ if (!clazz.subtypeOf(iface) && !clazz.subclassOf(iface))
{
clazz.addInterface(iface);
}
More information about the jboss-cvs-commits
mailing list