Community
Participate
Working Groups
Advice marker for a call pointcut is not being properly placed. The following aspect and class illustrate this: package recursivepackage; public aspect RecursiveCatcher { pointcut recur() : call(public void *.recursiveCall(int)); before(): recur() { // empty } public void recursiveCall(int i) { // marker is here recursiveCall(i); // marker should be here } } Here, AJDT places an advice marker at the execution site (ie, on the line "public void recursiveCall(int i) {"). It should be placed at the line "recursiveCall(i)".
Created attachment 103224 [details] Failing test case for markers Attaching a failing test case that includes the above aspect slightly altered. This is an aspectj bug. Fix in that is forthcoming.
AspectJ fix is in, i'll put it into AJDT later today.
patch committed. iplog