You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CircularPrecedence.java 354B

12345678910111213141516171819
  1. import org.aspectj.testing.Tester;
  2. /** @testcase Bugzilla Bug 29689
  3. Declare precedence should not allow multiple * patterns
  4. */
  5. public class CircularPrecedence {
  6. public static void main(String[] args) {
  7. }
  8. public static aspect Coordinator {
  9. declare precedence : *, Tracing, *; // should be error
  10. }
  11. }
  12. aspect Tracing {
  13. }