I have the same problem. From what I saw I AOP source code the
ClassAdvisor.resolveFieldPointcut() method is trying to make an incorrect
comparation.
If I declare
| public class A{
| private int field1;
|
| public void setField1(int value){
| this.field1=value;
| ...
| };
|
| }
|
| public class B extends A{
| ...
| }
|
for a pointcut class B-->field1 (declared in class A), it compares
classB->field1 (pointcut declaration) with classA->field1 (retrived by
javassist ). Maybe the comparation should be extended to the entire hierarchy.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001043#4001043
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001043
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user