]> source.dussan.org Git - aspectj.git/commitdiff
needed a !within(A)
authorjhugunin <jhugunin>
Mon, 30 Dec 2002 19:53:39 +0000 (19:53 +0000)
committerjhugunin <jhugunin>
Mon, 30 Dec 2002 19:53:39 +0000 (19:53 +0000)
tests/new/AfterReturningConstructor.java

index 8e70b0eca39695eb98bf57cf840a459a72ba0c97..e0fad5e0e6a7be439a2c30d7e3aa3f2888b2095c 100644 (file)
@@ -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);