aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-03-15 17:27:56 +0000
committeracolyer <acolyer>2004-03-15 17:27:56 +0000
commit01095341153b24fcf5ab5f537ecc77077819b1f1 (patch)
treefdb1eb96ddc1751bc999d350785bfc840c1172c8 /tests/bugs
parent0c2aca0df707e4ac1d8f83aee8eaaa47b982a40d (diff)
downloadaspectj-01095341153b24fcf5ab5f537ecc77077819b1f1.tar.gz
aspectj-01095341153b24fcf5ab5f537ecc77077819b1f1.zip
fix for Bugzilla Bug 44272
retitle warning to "circular {advice} dependency at ..."
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/CircularAdvicePrecedence.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs/CircularAdvicePrecedence.java b/tests/bugs/CircularAdvicePrecedence.java
new file mode 100644
index 000000000..99313c752
--- /dev/null
+++ b/tests/bugs/CircularAdvicePrecedence.java
@@ -0,0 +1,13 @@
+// bug 44272
+public aspect CircularAdvicePrecedence {
+ pointcut crun() : execution (void run()) ;
+ before() : crun() {}
+ after() returning : crun() {}
+ void around() : crun() { proceed(); }
+}
+
+class Runner {
+
+ public void run() {}
+
+} \ No newline at end of file