diff options
author | jhugunin <jhugunin> | 2002-12-23 19:25:45 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2002-12-23 19:25:45 +0000 |
commit | 52ccc9be332715a2d8decfe4ee4ef3ffbad12426 (patch) | |
tree | cbde377f429d93e6122f99a0cb826c0fcb5760c5 /tests/new/EachJVMOnSelf.java | |
parent | 7dd2994ade6aa152e3e579119158d9a338c06b44 (diff) | |
download | aspectj-52ccc9be332715a2d8decfe4ee4ef3ffbad12426.tar.gz aspectj-52ccc9be332715a2d8decfe4ee4ef3ffbad12426.zip |
matching new semantics of persingleton aspect advising its own initialization
Diffstat (limited to 'tests/new/EachJVMOnSelf.java')
-rw-r--r-- | tests/new/EachJVMOnSelf.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/new/EachJVMOnSelf.java b/tests/new/EachJVMOnSelf.java index cbbd1eeae..01fc8bba6 100644 --- a/tests/new/EachJVMOnSelf.java +++ b/tests/new/EachJVMOnSelf.java @@ -11,8 +11,8 @@ public class EachJVMOnSelf { aspect A issingleton() { String advisedNewClass = null; - after () returning (): this(*) && execution(new(..)) { - advisedNewClass = thisJoinPoint.getSourceLocation().getWithinType().getName(); + after () returning (): this(*) && execution(new(..)) && !this(A) { + advisedNewClass = thisJoinPoint.getSourceLocation().getWithinType().getName(); } } |