summaryrefslogtreecommitdiffstats
path: root/docs/progGuideDB
diff options
context:
space:
mode:
Diffstat (limited to 'docs/progGuideDB')
-rw-r--r--docs/progGuideDB/semantics.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/progGuideDB/semantics.xml b/docs/progGuideDB/semantics.xml
index 650cc7345..3c02329f0 100644
--- a/docs/progGuideDB/semantics.xml
+++ b/docs/progGuideDB/semantics.xml
@@ -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>