Announcement Announcement Module
Collapse
No announcement yet.
@AspectJ and CGLIB proxies Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • @AspectJ and CGLIB proxies

    Hi there

    I am currently in the process of converting an .aj to a java file and annotate the advice and pointcuts. In the ADJT tool in eclipse I can see that the advice is being applied.

    When trying to run a test suite i get the following exception:
    Code:
    Caused by: java.lang.VerifyError: (class: com/xxx/xxx/xxx, method: xxx_xxx1$advice signature: (Lcom/xxx/xxx/xxx;Lcom/xxx/xxx/xxx;Lorg/aspectj/lang/JoinPoint;Lcom/xxx/xxx/<Advice>;Lcom/Xxx/xx
    I may be wrong but it looks like the cglib proxy is being weaved by aspectj and causing some problems.

    Any advice?

  • #2
    P.S there is no problem when using the traditional style aspect.

    Comment


    • #3
      It seems as though using noinline option in stops this problem. Not sure why this would happen on an annotated class and not to a .aj class. The noinline is used for debugging around advice.

      Hmmmmmm

      Comment

      Working...
      X