Community
Participate
Working Groups
Given an abstract library aspect (code-style) I'm trying to create a concrete @AspectJ aspect to apply it to the local project. I'm getting the following stack trace at runtime: Exception in thread "main" java.lang.IllegalAccessError: tried to access method com.the.enterprise.logging.Logging.ajc$around$com_the_enterprise_logging_Logging$1$18006b3eproceed(Lorg/aspectj/runtime/internal/AroundClosure;)Ljava/lang/Object; from class com.the.enterprise.service.Service at com.the.enterprise.service.Service.doSomething_aroundBody1$advice(Service.java:110) at com.the.enterprise.service.Service.doSomething(Service.java:1) at com.the.enterprise.service.Main.main(Main.java:11)
Created attachment 65857 [details] Set of Eclipse projects to demonstrate success/failure for this
I believe this is another occurrence of the bug where mixing styles just didn't work. I've recreated the failure with AspectJ1.5.2a using the attached samples and confirmed that it works just fine with 1.6.0 and the latest 1.6.1 dev builds.