Hmm,

when weaving, we copy across the method

so 

  | class Blah{
  |   
  |   @Destroy 
  |   void someMethod(){
  |      //do stuff
  |   }
  | }
  | 

becomes

  | class Blah{
  |   @Destroy
  |   void someMethod(){
  |     //hooks for aop
  | 
  |     @Destroy
  |     aop$someMethod();
  |   }
  | 
  |   void aop$someMethod(){
  |     //original content of someMethod()
  |   }
  | }
  | 

So this is a bug, aop$someMethod() should not have the same annotations.

I think this will be a quick fix, so with any luck I should be able to fix this 
today.
http://jira.jboss.com/jira/browse/JBAOP-316



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990071#3990071

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990071
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to