From a9d59bdaf387565f88b4a5926e273430ea6d5aeb Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 5 Aug 2011 16:05:12 +0000 Subject: [PATCH] 353936 --- tests/bugs1612/pr353936/Code.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/bugs1612/pr353936/Code.java 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) {} +} + -- 2.39.5