diff options
Diffstat (limited to 'tests/new/IndeterminateArg.java')
-rw-r--r-- | tests/new/IndeterminateArg.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/new/IndeterminateArg.java b/tests/new/IndeterminateArg.java index db54c82de..e0b0bfc36 100644 --- a/tests/new/IndeterminateArg.java +++ b/tests/new/IndeterminateArg.java @@ -120,7 +120,8 @@ aspect A { T.e(name); } - pointcut safe() : (call(C+.new(..)) || call(* C+.*(..))); + pointcut safe() : (call(C+.new(..))) || + (call(* *.*(..)) && target(C)); // XXX should encode slots, range: a0o1 = args(Object); a3o2Start = args(Object, Object, *) pointcut none() : args(); pointcut o1() : args(Object); |