summaryrefslogtreecommitdiffstats
path: root/tests/bugs164
diff options
context:
space:
mode:
authoraclement <aclement>2009-01-29 23:56:35 +0000
committeraclement <aclement>2009-01-29 23:56:35 +0000
commit69a79e20f60efdc344a0a354b254fe72019907f5 (patch)
treeee7b5a5303e5d20fa20a4d3663804f20a8e2d8a7 /tests/bugs164
parent85eed1b16732e2448a4d5089ce46e8fe0530e4b0 (diff)
downloadaspectj-69a79e20f60efdc344a0a354b254fe72019907f5.tar.gz
aspectj-69a79e20f60efdc344a0a354b254fe72019907f5.zip
256779: test and fix: decp lazy resolution in anno style
Diffstat (limited to 'tests/bugs164')
-rw-r--r--tests/bugs164/pr256779/OtherAspect.java12
-rw-r--r--tests/bugs164/pr256779/ThisAspect.java12
-rw-r--r--tests/bugs164/pr256779/aop.xml7
3 files changed, 31 insertions, 0 deletions
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 @@
+<aspectj>
+<aspects>
+<aspect name="com.OtherAspect"/>
+<aspect name="com.ThisAspect"/>
+</aspects>
+</aspectj>
+