]> source.dussan.org Git - aspectj.git/commitdiff
353936
authoraclement <aclement>
Fri, 5 Aug 2011 16:05:12 +0000 (16:05 +0000)
committeraclement <aclement>
Fri, 5 Aug 2011 16:05:12 +0000 (16:05 +0000)
tests/bugs1612/pr353936/Code.java [new file with mode: 0644]

diff --git a/tests/bugs1612/pr353936/Code.java b/tests/bugs1612/pr353936/Code.java
new file mode 100644 (file)
index 0000000..c35bfba
--- /dev/null
@@ -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) {}
+}
+