From 290a13b086dc2c7f50330092d56d4290f8b4a7da Mon Sep 17 00:00:00 2001 From: acolyer Date: Wed, 4 Aug 2004 16:06:44 +0000 Subject: fix for Bugzilla Bug 61569 if-pointcuts with side-effects --- docs/progGuideDB/semantics.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/progGuideDB/semantics.xml') 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")) + + Note that the order of evaluation for pointcut expression + components at a join point is undefined. Writing if + 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. + -- cgit v1.2.3