From 997321eeca690086e7a60d796e24bbf25a7699b3 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 25 Feb 2009 22:51:25 +0000 Subject: 266220: generic aspect subtypes in aop.xml --- tests/bugs164/pr266220/Code.java | 9 +++++++++ tests/bugs164/pr266220/Isolator.java | 8 ++++++++ tests/bugs164/pr266220/aop.xml | 8 ++++++++ 3 files changed, 25 insertions(+) create mode 100644 tests/bugs164/pr266220/Code.java create mode 100644 tests/bugs164/pr266220/Isolator.java create mode 100644 tests/bugs164/pr266220/aop.xml (limited to 'tests/bugs164') diff --git a/tests/bugs164/pr266220/Code.java b/tests/bugs164/pr266220/Code.java new file mode 100644 index 000000000..eae1c4b02 --- /dev/null +++ b/tests/bugs164/pr266220/Code.java @@ -0,0 +1,9 @@ +public class Code { + public static void main(String[]argv) { + new Code().run(); + } + + public void run() { + System.out.println("running..."); + } +} \ No newline at end of file diff --git a/tests/bugs164/pr266220/Isolator.java b/tests/bugs164/pr266220/Isolator.java new file mode 100644 index 000000000..301c22ef5 --- /dev/null +++ b/tests/bugs164/pr266220/Isolator.java @@ -0,0 +1,8 @@ +public abstract aspect Isolator { + + pointcut scope(): within(T); + + before(): execution(* *(..)) && scope() { + System.out.println(thisJoinPoint); + } +} \ No newline at end of file diff --git a/tests/bugs164/pr266220/aop.xml b/tests/bugs164/pr266220/aop.xml new file mode 100644 index 000000000..910ccf541 --- /dev/null +++ b/tests/bugs164/pr266220/aop.xml @@ -0,0 +1,8 @@ + + + + + + + + -- cgit v1.2.3