mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-13 15:45:38 +02:00
fix for Bugzilla Bug 61569
if-pointcuts with side-effects
This commit is contained in:
parent
086757332d
commit
290a13b086
@ -881,6 +881,13 @@
|
||||
if(thisJoinPoint.getKind().equals("call"))
|
||||
</programlisting>
|
||||
|
||||
<para>
|
||||
Note that the order of evaluation for pointcut expression
|
||||
components at a join point is undefined. Writing <literal>if</literal>
|
||||
pointcuts that have side-effects is considered bad style and may also
|
||||
lead to potentially confusing or even changing behavior with regard
|
||||
to when or if the test code will run.
|
||||
</para>
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user