From 69a79e20f60efdc344a0a354b254fe72019907f5 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 29 Jan 2009 23:56:35 +0000 Subject: 256779: test and fix: decp lazy resolution in anno style --- tests/bugs164/pr256779/OtherAspect.java | 12 ++++++++++++ tests/bugs164/pr256779/ThisAspect.java | 12 ++++++++++++ tests/bugs164/pr256779/aop.xml | 7 +++++++ 3 files changed, 31 insertions(+) create mode 100644 tests/bugs164/pr256779/OtherAspect.java create mode 100644 tests/bugs164/pr256779/ThisAspect.java create mode 100644 tests/bugs164/pr256779/aop.xml (limited to 'tests/bugs164/pr256779') diff --git a/tests/bugs164/pr256779/OtherAspect.java b/tests/bugs164/pr256779/OtherAspect.java new file mode 100644 index 000000000..05aa0ff74 --- /dev/null +++ b/tests/bugs164/pr256779/OtherAspect.java @@ -0,0 +1,12 @@ +package com; + +import org.aspectj.lang.annotation.*; + + +@Aspect +public class OtherAspect { + @Before("execution(* *(..))") + public void b() {} + //... +} + diff --git a/tests/bugs164/pr256779/ThisAspect.java b/tests/bugs164/pr256779/ThisAspect.java new file mode 100644 index 000000000..c07001fa2 --- /dev/null +++ b/tests/bugs164/pr256779/ThisAspect.java @@ -0,0 +1,12 @@ +package com; + +import org.aspectj.lang.annotation.*; + +@DeclarePrecedence("com.ThisAspect, com.OtherAspect") +@Aspect public class ThisAspect { +@Before("execution(* *(..))") +public void b() {} + //... + public static void main(String[] argv) {} +} + diff --git a/tests/bugs164/pr256779/aop.xml b/tests/bugs164/pr256779/aop.xml new file mode 100644 index 000000000..8c2780304 --- /dev/null +++ b/tests/bugs164/pr256779/aop.xml @@ -0,0 +1,7 @@ + + + + + + + -- cgit v1.2.3