Community
Participate
Working Groups
Build ID: M20060629-1905 Steps To Reproduce: The following pointcut declaration type-checks fine: pointcut FailSafeIter_updatesource(Collection v) : call(* Collection+.remove*(..)) && target(v) && || call(* Collection+.add*(..)) && target(v); The following however gives me a "multiple bindings" error message. Surely this cannot be right as bindings are clearly just as non-ambiguous as in the previous pointcut declaration. pointcut FailSafeIter_updatesource(Collection v) : call(* Collection+.remove*(..)) && target(v) && !within(abc) || call(* Collection+.add*(..)) && target(v) && !within(abc); More information: Tested with AJDT version 1.4.2.200705221209 abc compiles this pointcut just fine.
Sorry the first pointcut should have been: pointcut FailSafeIter_updatesource(Collection v) : call(* Collection+.remove*(..)) && target(v) || call(* Collection+.add*(..)) && target(v);
seems to have been fixed in current RC for aspectj 1.6.1. sorry :-(