]> source.dussan.org Git - aspectj.git/commitdiff
explicitly excluding new preinitialization join points
authorjhugunin <jhugunin>
Thu, 19 Dec 2002 23:03:54 +0000 (23:03 +0000)
committerjhugunin <jhugunin>
Thu, 19 Dec 2002 23:03:54 +0000 (23:03 +0000)
tests/new/CflowCycles.java

index 5b48bf76f1e961281a3f2e34f5275f007757b7fd..3bcabe6128cacc230e12e9c8cc1ff8805e872431 100644 (file)
@@ -17,7 +17,7 @@ class Target {
 aspect A1 {
     pointcut TargetRunFlow () 
         // ok if no cflow: within(Target) && execution(* *(..)) && !within(A1+);
-        : !within(A1+) //cflow(within(Target) && execution(* *(..))) && !within(A1+)
+        : !within(A1+) && !preinitialization(new(..)) //cflow(within(Target) && execution(* *(..))) && !within(A1+)
         ;
     Object around () : TargetRunFlow() {
         Tester.event("target A1");