diff options
author | mwebster <mwebster> | 2006-10-05 10:12:57 +0000 |
---|---|---|
committer | mwebster <mwebster> | 2006-10-05 10:12:57 +0000 |
commit | 3ebee688f8dab9c114ca61b685b324c19640ae9b (patch) | |
tree | c7ef0fc748679370228bcb819c007ebeaa2bca02 /tests/bugs150 | |
parent | 81427c39398b2134bffa5485adc0defaee7db607 (diff) | |
download | aspectj-3ebee688f8dab9c114ca61b685b324c19640ae9b.tar.gz aspectj-3ebee688f8dab9c114ca61b685b324c19640ae9b.zip |
Bug 158957 "NPE in LTW with RMI dynamic proxies w/ pointcut reuse" (ensure we can filter classes like $XXX)
Diffstat (limited to 'tests/bugs150')
-rw-r--r-- | tests/bugs150/pr120474/$Proxy4.java | 3 | ||||
-rw-r--r-- | tests/bugs150/pr120474/X.aj | 4 | ||||
-rw-r--r-- | tests/bugs150/pr120474/aop.xml | 5 |
3 files changed, 11 insertions, 1 deletions
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 @@ +<aspectj> + <weaver options="-verbose -debug"> + <exclude within="$Proxy*"/> + </weaver> +</aspectj>
\ No newline at end of file |