Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] If pointcut and side effects

Not really, since the first advice impacts the pointcut associated with the other advice, not just the other advice itself. As I understood Wes, advice precedence does not necessarily imply evaluation order of the advice's pointcuts?


On Jun 23, 2006, at 9:51 AM, Eric Bodden wrote:

Btw, this issue doesn't stop with the if, but goes for other dynamic
checks as well, e.g. when around advice changes the arguments to the
join point, which apparently impacts the args pointcut of a lower-
precedence advice. This example is constructed; I don't know if things
like this are likely to happen in real programs:

But this is just an issue of advice precedence which is well-defined.

aspectj-users mailing list

Back to the top