aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2002-12-17 22:13:21 +0000
committerjhugunin <jhugunin>2002-12-17 22:13:21 +0000
commit7b7572bc37dca8798e29ffaa7c9f2d88c810af21 (patch)
tree1082376e98ddd53c78c4374fbf6af9406a9fe347 /tests/new
parent8854303e607919697b8b746ce811e2d7f3df6c6c (diff)
downloadaspectj-7b7572bc37dca8798e29ffaa7c9f2d88c810af21.tar.gz
aspectj-7b7572bc37dca8798e29ffaa7c9f2d88c810af21.zip
can't use wildcards in target in 1.1
Diffstat (limited to 'tests/new')
-rw-r--r--tests/new/CallNotTarget.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/new/CallNotTarget.java b/tests/new/CallNotTarget.java
index c710e2b60..bcf5199d2 100644
--- a/tests/new/CallNotTarget.java
+++ b/tests/new/CallNotTarget.java
@@ -14,7 +14,7 @@ public class CallNotTarget {
static {
Tester.expectEvent("A.before");
Tester.expectEvent("A.before-not");
- Tester.expectEvent("A*.before-not");
+ Tester.expectEvent("Aspect.before-not");
Tester.expectEvent("go");
}
@@ -43,8 +43,8 @@ aspect Aspect {
before () : pc() && !target (A) { // change to !target(String) to avoid bug
Tester.event("A.before-not");
}
- before () : pc() && !target (A*) { // change to !target(String) to avoid bug
- Tester.event("A*.before-not");
+ before () : pc() && !target (Aspect) { // change to !target(String) to avoid bug
+ Tester.event("Aspect.before-not");
}
// before(): call(void doit(I)) && !args(A) {