From: aclement Date: Fri, 5 Aug 2011 16:05:12 +0000 (+0000) Subject: 353936 X-Git-Tag: V1_6_12M2~52 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a9d59bdaf387565f88b4a5926e273430ea6d5aeb;p=aspectj.git 353936 --- 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) {} +} +