diff options
author | aclement <aclement> | 2011-08-05 16:05:12 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-08-05 16:05:12 +0000 |
commit | a9d59bdaf387565f88b4a5926e273430ea6d5aeb (patch) | |
tree | 04185cf1104248a0434ddbff35be8b466a8b8072 /tests/bugs1612 | |
parent | 167b801c5c71bfa1e0667e85429e097f03d7e849 (diff) | |
download | aspectj-a9d59bdaf387565f88b4a5926e273430ea6d5aeb.tar.gz aspectj-a9d59bdaf387565f88b4a5926e273430ea6d5aeb.zip |
353936
Diffstat (limited to 'tests/bugs1612')
-rw-r--r-- | tests/bugs1612/pr353936/Code.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/bugs1612/pr353936/Code.java b/tests/bugs1612/pr353936/Code.java new file mode 100644 index 000000000..c35bfba41 --- /dev/null +++ b/tests/bugs1612/pr353936/Code.java @@ -0,0 +1,18 @@ +public class Code { + public void m() { + + } +} + +aspect X { + before(): execution(* m(..)) && cflow(adviceexecution()) {} + + before(): execution(* *(..)) { + int i = 4; + log("foo",thisJoinPoint); + log(Integer.valueOf(i),thisJoinPoint); + } + public void log(String s,Object o) {} + public void log(int s,Object o) {} +} + |