Project: AspectJ
Bug 152366 LTW Within Patterns Should Accept AND For Consistency
Reported: 2006-07-31 14:44:20 | Status: resolved fixed

The load-time weaving definition system accepts AND in addition to &amp;&amp; for pointcuts, but it silently accepts and then fails to work with type patterns that use AND. Such type patterns are important when creating exceptions (e.g., excluding weblogic..* &amp;&amp; !weblogic.jdbc..*) and using AND is also helpful here. I've attached a patch to support this and tests to show it's working.

Files changed in fix:
loadtime/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java