fix for Bugzilla Bug 61569

if-pointcuts with side-effects
This commit is contained in:
acolyer 2004-08-04 16:06:44 +00:00
parent 086757332d
commit 290a13b086

View File

@ -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>