From 1b6e9edfacf5f3d2732d164b15bc26022835c6ac Mon Sep 17 00:00:00 2001 From: acolyer Date: Wed, 15 Dec 2004 20:51:01 +0000 Subject: partial fix for bug 61568. These changes are both (a) a performance optimization, and (b) an improvement on the binding across || rules that we implemented in 1.2.1. Instead of saying the the first binding in a left-to-right traversal of the pointcuts DNF is the one that you get (too much to ask users to do DNF rewriting in their heads), this version implements the rule that every || branch in the DNF must bind all formals, and if two || branches can have any join points in common (can match join points of the same kind), then both must bind all formals identically. So it allows things like execution(* *(..)) && args(x) || call(* *(..)) && this(x) which previously we used to forbid. But primarily it turned out to be a performance optimization. --- .../org/aspectj/systemtest/ajc121/ajc121-tests.xml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'tests/src/org/aspectj/systemtest/ajc121') diff --git a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml index 77d52f3dc..9089289e9 100644 --- a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml +++ b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml @@ -4,12 +4,10 @@ - - + - - + @@ -213,14 +211,11 @@ - - - - - - - - + + + + + -- cgit v1.2.3