aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new')
-rw-r--r--tests/new/AfterReturningConstructor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/new/AfterReturningConstructor.java b/tests/new/AfterReturningConstructor.java
index 8e70b0eca..e0fad5e0e 100644
--- a/tests/new/AfterReturningConstructor.java
+++ b/tests/new/AfterReturningConstructor.java
@@ -47,7 +47,7 @@ class U {
aspect A {
/** must pick out both interface and implementor constructor execution */
- pointcut pc(): execution(new(..));
+ pointcut pc(): execution(new(..)) && !within(A);
before(): pc() {
U.e(U.before + thisJoinPoint);