diff options
Diffstat (limited to 'tests/new/IntroOnIntro.java')
-rw-r--r-- | tests/new/IntroOnIntro.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/new/IntroOnIntro.java b/tests/new/IntroOnIntro.java index ca8d0a96b..e8fa20fd2 100644 --- a/tests/new/IntroOnIntro.java +++ b/tests/new/IntroOnIntro.java @@ -25,8 +25,8 @@ class Class1 { aspect Aspect1 /**of eachobject (instanceof(Class1))*/ { public String Class1.getName() { return this.name; } - void f() {} - before(): call(* getName(..)) && this(Class1) { + void f() {System.out.println("advice running");} + before(): call(* getName(..)) && target(Class1) { f(); } } |