diff options
author | aclement <aclement> | 2009-02-27 23:28:13 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-02-27 23:28:13 +0000 |
commit | 0317807e6cb65e3e018a41a3200975e06047a011 (patch) | |
tree | adf05fac9acbdebe0948638c1e04fd9ccd06d06e /tests/bugs164 | |
parent | 82c0ab156a769151d9825dd421bb8512ebd48d8e (diff) | |
download | aspectj-0317807e6cb65e3e018a41a3200975e06047a011.tar.gz aspectj-0317807e6cb65e3e018a41a3200975e06047a011.zip |
266564: annotation style inline problem for double slot var types
Diffstat (limited to 'tests/bugs164')
-rw-r--r-- | tests/bugs164/pr266564/AA.java | 25 | ||||
-rw-r--r-- | tests/bugs164/pr266564/CC.java | 19 |
2 files changed, 44 insertions, 0 deletions
diff --git a/tests/bugs164/pr266564/AA.java b/tests/bugs164/pr266564/AA.java new file mode 100644 index 000000000..6a3237bdf --- /dev/null +++ b/tests/bugs164/pr266564/AA.java @@ -0,0 +1,25 @@ +package business; + +import org.aspectj.lang.ProceedingJoinPoint; +import org.aspectj.lang.annotation.Around; +import org.aspectj.lang.annotation.Aspect; + +public class AA { + + public void foo(long docId, String userid) { + } + + public static void main(String[] args) { + new AA().foo(12, "hello"); + } +} + +@Aspect +class Asp { + + @Around("execution(* foo(..))") + public Object around(ProceedingJoinPoint pjp) { + return pjp.proceed(); + } +} + diff --git a/tests/bugs164/pr266564/CC.java b/tests/bugs164/pr266564/CC.java new file mode 100644 index 000000000..69ec05b22 --- /dev/null +++ b/tests/bugs164/pr266564/CC.java @@ -0,0 +1,19 @@ +package business; + +public class CC { + + public void foo(long docId, String userid) { + } + + public static void main(String[] args) { + new CC().foo(12, "hello"); + } +} + +aspect Asp { + + Object around(): execution(* foo(..)) { + return proceed(); + } +} + |