From 856db5d97f329041751418b2cc43d7574e26144d Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Wed, 10 Apr 2024 11:03:13 +0200 Subject: Add IT reproducing JoinPointImpl thread-locals memory leak Relates to #302. Signed-off-by: Alexander Kriegisch --- tests/bugs1922/github_302/SecondAspect.aj | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/bugs1922/github_302/SecondAspect.aj (limited to 'tests/bugs1922/github_302/SecondAspect.aj') diff --git a/tests/bugs1922/github_302/SecondAspect.aj b/tests/bugs1922/github_302/SecondAspect.aj new file mode 100644 index 000000000..5f088b63a --- /dev/null +++ b/tests/bugs1922/github_302/SecondAspect.aj @@ -0,0 +1,12 @@ +import org.aspectj.lang.ProceedingJoinPoint; +import org.aspectj.lang.annotation.Around; +import org.aspectj.lang.annotation.Aspect; + +@Aspect +public class SecondAspect { + @Around("execution(* toIntercept())") + public Object doAround(ProceedingJoinPoint joinPoint) throws Throwable { + //System.out.println(getClass().getSimpleName()); + return joinPoint.proceed(); + } +} -- cgit v1.2.3