diff options
author | aclement <aclement> | 2008-06-11 22:30:13 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-06-11 22:30:13 +0000 |
commit | 92e2a41d3cdf7d3297092ee5d4266577905519b3 (patch) | |
tree | 05bd9ae648f6767750818803e571a617dc55cee5 /tests/bugs161 | |
parent | bc04401627101ce037a5e90852e36baacdab2873 (diff) | |
download | aspectj-92e2a41d3cdf7d3297092ee5d4266577905519b3.tar.gz aspectj-92e2a41d3cdf7d3297092ee5d4266577905519b3.zip |
test and fix for 168982: message on ataspectj nonabstract generic aspect
Diffstat (limited to 'tests/bugs161')
-rw-r--r-- | tests/bugs161/pr168982/TracingAspect2.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs161/pr168982/TracingAspect2.java b/tests/bugs161/pr168982/TracingAspect2.java new file mode 100644 index 000000000..377c5941c --- /dev/null +++ b/tests/bugs161/pr168982/TracingAspect2.java @@ -0,0 +1,17 @@ +package tracing; + +import org.aspectj.lang.JoinPoint; +import org.aspectj.lang.annotation.Aspect; +import org.aspectj.lang.annotation.Before; +import org.aspectj.lang.annotation.Pointcut; + +@Aspect +public class TracingAspect2<T> { + @Pointcut("execution(* *(..))") + public void traced() {} + + @Before("traced()") + public void log(JoinPoint thisJoinPoint) { + System.out.println("Entering "); + } +} |