Browse Source

needed a !within(A)

tags/V_1_1_b5
jhugunin 21 years ago
parent
commit
23e449e656
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tests/new/AfterReturningConstructor.java

+ 1
- 1
tests/new/AfterReturningConstructor.java View 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);

Loading…
Cancel
Save