Bug 87656

Summary: @args produces a java.lang.VerifyError
Product: [Tools] AspectJ Reporter: Oliver <boehm>
Component: CompilerAssignee: Adrian Colyer <adrian.colyer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: markt
Version: 1.5.0M1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Oliver CLA 2005-03-10 10:55:24 EST
When I compile an @args()-pointcut I get a java.lang.VerifyError at runtime.
Also cleaning the project in Eclipse does not help. 

/**
 * This example results in a
 * java.lang.VerifyError: (class: space/Taxi, method: leave signature: (I)V)
Expecting to find object/array on stack
 *     at space.test.TaxiTest.setUp(TaxiTest.java:30)
 *     at junit.framework.TestCase.runBare(TestCase.java:125)
 *     ...
 */
after() : execution(public * Taxi.*(..)) && @args(Role) {
    log5.info("@Role args: " + thisJoinPoint.toShortString());
}
Comment 1 Adrian Colyer CLA 2005-03-10 12:10:24 EST
This was fixed in the tree earlier today :). I'll close this bug report once the
fix is available in a downloadable build.
Comment 2 Andrew Clement CLA 2005-04-04 08:17:45 EDT
Fix available in latest AJ and AJDT builds.
Comment 3 Christophe Cornu CLA 2005-04-08 13:46:23 EDT
*** Bug 90816 has been marked as a duplicate of this bug. ***