diff options
author | acolyer <acolyer> | 2004-08-10 13:22:08 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2004-08-10 13:22:08 +0000 |
commit | 05dabd1821fffd9f353d1e965a56658b962c82d7 (patch) | |
tree | ac21652c7b86d12a0deaf3f287e97b6f5d07f16b /tests/bugs/pr53981/Proceeding3.aj | |
parent | b3f5f6fe945ef35f8a3b97ec71bb5cc57e89a641 (diff) | |
download | aspectj-05dabd1821fffd9f353d1e965a56658b962c82d7.tar.gz aspectj-05dabd1821fffd9f353d1e965a56658b962c82d7.zip |
fix for Bugzilla Bug 53981
proceed used as method name in around advice
Diffstat (limited to 'tests/bugs/pr53981/Proceeding3.aj')
-rw-r--r-- | tests/bugs/pr53981/Proceeding3.aj | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs/pr53981/Proceeding3.aj b/tests/bugs/pr53981/Proceeding3.aj new file mode 100644 index 000000000..7033c393b --- /dev/null +++ b/tests/bugs/pr53981/Proceeding3.aj @@ -0,0 +1,14 @@ +import org.aspectj.testing.Tester; + +public class Proceeding3 { + public static void main(String[] args) { + } + static aspect A { + void around() : execution(void main(String[])) { + proceed(); // special form or Proceeding.proceed()? + } + } + void proceed() { + Tester.checkFailed("A bare call to proceed inside around advice should never refer to a method"); + } +}
\ No newline at end of file |