From: jhugunin Date: Tue, 17 Dec 2002 22:13:21 +0000 (+0000) Subject: can't use wildcards in target in 1.1 X-Git-Tag: V_1_1_b2~60 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7b7572bc37dca8798e29ffaa7c9f2d88c810af21;p=aspectj.git can't use wildcards in target in 1.1 --- 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) {