summaryrefslogtreecommitdiffstats
path: root/tests/bugs1611/pr333274/ma/aspect3/Aspect3.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs1611/pr333274/ma/aspect3/Aspect3.java')
-rw-r--r--tests/bugs1611/pr333274/ma/aspect3/Aspect3.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/bugs1611/pr333274/ma/aspect3/Aspect3.java b/tests/bugs1611/pr333274/ma/aspect3/Aspect3.java
new file mode 100644
index 000000000..93c17cee8
--- /dev/null
+++ b/tests/bugs1611/pr333274/ma/aspect3/Aspect3.java
@@ -0,0 +1,22 @@
+package ma.aspect3;
+
+import org.aspectj.lang.ProceedingJoinPoint;
+import org.aspectj.lang.annotation.Around;
+import org.aspectj.lang.annotation.Aspect;
+
+@Aspect
+public class Aspect3 {
+
+ @Around("execution(@ma.Annotation1 * *(..))")
+ public Object inTimeLimiterAspect(ProceedingJoinPoint pjp) throws Throwable {
+ new InnerClass2();
+ System.out.println(">In Aspect3");
+ Object returnedObject = pjp.proceed();
+ System.out.println("<In Aspect3");
+ return returnedObject;
+ }
+
+ private static class InnerClass2 {
+
+ }
+}