Community
Participate
Working Groups
the scheme used to rewrite pointcuts defined in XML that use AND doesnt work, they get mangled.
Here are two examples: xml pointcut: "within(SomeType) AND execution(* foo(..))" transformed to: "within(SomeType)within(SomeType)execution(* foo(..))" parsed (yes, parsed!) as: "within(SomeType)" the weaver will proceed having discarded the execution part of the pointcut (!) Example 2: original="within(*) AND call(* foo(..))" transformed="within(C)within(C)call(* foo(..))" parsedAs="within(C)" matching rather more joinpoints than you'd hope...
fix committed and tests added.