Project: AspectJ
Bug 70619 compiler aborts with "conflicting dominates orders" with circular declare precedences
Reported: 2004-07-22 10:11:01 | Status: resolved fixed

The following program causes ajc 1.2 to abort: public class Conflict { public static void main(String[] args) { } } aspect Conflict1 { declare precedence: Conflict1, Conflict2; before(): execution(* *(..)) { } } aspect Conflict2 { declare precedence: Conflict2, Conflict1; after(): execution(* *(..)) { } }

Files changed in fix:
tests/bugs/bug70619/Conflict.java tests/bugs/bug70619/Precedence.java weaver/src/org/aspectj/weaver/World.java