From 3ebee688f8dab9c114ca61b685b324c19640ae9b Mon Sep 17 00:00:00 2001 From: mwebster Date: Thu, 5 Oct 2006 10:12:57 +0000 Subject: [PATCH] Bug 158957 "NPE in LTW with RMI dynamic proxies w/ pointcut reuse" (ensure we can filter classes like $XXX) --- tests/bugs150/pr120474/$Proxy4.java | 3 +++ tests/bugs150/pr120474/X.aj | 4 +++- tests/bugs150/pr120474/aop.xml | 5 +++++ tests/src/org/aspectj/systemtest/ajc150/ajc150.xml | 7 ++++++- 4 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 tests/bugs150/pr120474/aop.xml diff --git a/tests/bugs150/pr120474/$Proxy4.java b/tests/bugs150/pr120474/$Proxy4.java index 3b617ca31..8da92d6c7 100644 --- a/tests/bugs150/pr120474/$Proxy4.java +++ b/tests/bugs150/pr120474/$Proxy4.java @@ -1,3 +1,6 @@ public class $Proxy4 { public void foo() {} + public static void main (String[] args) { + new $Proxy4().foo(); + } } diff --git a/tests/bugs150/pr120474/X.aj b/tests/bugs150/pr120474/X.aj index c0dd297e5..550028016 100644 --- a/tests/bugs150/pr120474/X.aj +++ b/tests/bugs150/pr120474/X.aj @@ -1,3 +1,5 @@ public aspect X { - before(): execution(* foo(..)) && !within(X) { } + before(): execution(* foo(..)) && !within(X) { + System.out.println(thisJoinPoint); + } } diff --git a/tests/bugs150/pr120474/aop.xml b/tests/bugs150/pr120474/aop.xml new file mode 100644 index 000000000..7032c15a9 --- /dev/null +++ b/tests/bugs150/pr120474/aop.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml index 3e62052c7..922fb16ee 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml @@ -311,7 +311,12 @@ - + + + + + + -- 2.39.5