aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1612
diff options
context:
space:
mode:
authoraclement <aclement>2011-08-05 16:05:12 +0000
committeraclement <aclement>2011-08-05 16:05:12 +0000
commita9d59bdaf387565f88b4a5926e273430ea6d5aeb (patch)
tree04185cf1104248a0434ddbff35be8b466a8b8072 /tests/bugs1612
parent167b801c5c71bfa1e0667e85429e097f03d7e849 (diff)
downloadaspectj-a9d59bdaf387565f88b4a5926e273430ea6d5aeb.tar.gz
aspectj-a9d59bdaf387565f88b4a5926e273430ea6d5aeb.zip
353936
Diffstat (limited to 'tests/bugs1612')
-rw-r--r--tests/bugs1612/pr353936/Code.java18
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) {}
+}
+