aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs150')
-rw-r--r--tests/bugs150/pr120474/$Proxy4.java3
-rw-r--r--tests/bugs150/pr120474/X.aj4
-rw-r--r--tests/bugs150/pr120474/aop.xml5
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