aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features167
diff options
context:
space:
mode:
authoraclement <aclement>2010-05-13 15:21:38 +0000
committeraclement <aclement>2010-05-13 15:21:38 +0000
commit0fdf5483d94c50119dab88c35dbaaa62650bd7eb (patch)
tree4a671aeb5b23e6374da0edc2570f5fdbe0c15c96 /tests/features167
parent50b9cc3c0afda97d251f884e4173e04c6c8c25ac (diff)
downloadaspectj-0fdf5483d94c50119dab88c35dbaaa62650bd7eb.tar.gz
aspectj-0fdf5483d94c50119dab88c35dbaaa62650bd7eb.zip
declare precedence to make results more reliable
Diffstat (limited to 'tests/features167')
-rw-r--r--tests/features167/overweaving/calls/B.aj1
-rw-r--r--tests/features167/overweaving/messy2/B.aj1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/features167/overweaving/calls/B.aj b/tests/features167/overweaving/calls/B.aj
index fa4b334d0..a8b1a7103 100644
--- a/tests/features167/overweaving/calls/B.aj
+++ b/tests/features167/overweaving/calls/B.aj
@@ -1,3 +1,4 @@
public aspect B {
+ declare precedence: B,*;
before(): !cflow(adviceexecution()) && call(* *(..)) {System.out.println("B:"+thisJoinPointStaticPart);}
}
diff --git a/tests/features167/overweaving/messy2/B.aj b/tests/features167/overweaving/messy2/B.aj
index d35d27477..e1508937e 100644
--- a/tests/features167/overweaving/messy2/B.aj
+++ b/tests/features167/overweaving/messy2/B.aj
@@ -1,3 +1,4 @@
public aspect B {
+ declare precedence: B,*;
before(): execution(* *(..)) {System.out.println("B:"+thisJoinPointStaticPart);}
}