Bug 87656 - @args produces a java.lang.VerifyError
Summary: @args produces a java.lang.VerifyError
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.5.0M1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Adrian Colyer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-10 10:55 EST by Oliver CLA
Modified: 2005-04-08 13:46 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***