diff options
Diffstat (limited to 'tests/bugs1611/pr333274/ma/aspect1/Aspect1.java')
-rw-r--r-- | tests/bugs1611/pr333274/ma/aspect1/Aspect1.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/bugs1611/pr333274/ma/aspect1/Aspect1.java b/tests/bugs1611/pr333274/ma/aspect1/Aspect1.java new file mode 100644 index 000000000..b76a0ca8f --- /dev/null +++ b/tests/bugs1611/pr333274/ma/aspect1/Aspect1.java @@ -0,0 +1,25 @@ +package ma.aspect1; + +import org.aspectj.lang.ProceedingJoinPoint; +import org.aspectj.lang.annotation.Around; +import org.aspectj.lang.annotation.Aspect; + + +@Aspect +public class Aspect1 { + + @Around("execution(@ma.Annotation1 * *(..))") + public Object inRetryAspect(ProceedingJoinPoint pjp) throws Throwable { + new InternalClass(); + System.out.println(">In Aspect1"); + pjp.proceed(); + System.out.println("=In Aspect1"); + Object o = pjp.proceed(); + System.out.println("<In Aspect1"); + return o; + } + + private static class InternalClass { + } + +} |