diff options
author | Andy Clement <aclement@gopivotal.com> | 2013-07-29 22:24:55 -0700 |
---|---|---|
committer | Andy Clement <andrew.clement@gmail.com> | 2013-07-29 22:25:23 -0700 |
commit | 0c0adc560d413ad0ec2a6dcd076e3ab292d12806 (patch) | |
tree | e48ff4b81019ed2c07cb004da9405a704905f565 /tests/bugs174 | |
parent | 302c14ee680d5782cba619d8cc748e60afd09561 (diff) | |
download | aspectj-0c0adc560d413ad0ec2a6dcd076e3ab292d12806.tar.gz aspectj-0c0adc560d413ad0ec2a6dcd076e3ab292d12806.zip |
Fix for 368046: exclude certain loaders
Diffstat (limited to 'tests/bugs174')
-rw-r--r-- | tests/bugs174/pr368046/Azpect.java | 5 | ||||
-rw-r--r-- | tests/bugs174/pr368046/Code.java | 5 | ||||
-rw-r--r-- | tests/bugs174/pr368046/aop1.xml | 6 | ||||
-rw-r--r-- | tests/bugs174/pr368046/aop2.xml | 6 | ||||
-rw-r--r-- | tests/bugs174/pr368046/aop3.xml | 6 |
5 files changed, 28 insertions, 0 deletions
diff --git a/tests/bugs174/pr368046/Azpect.java b/tests/bugs174/pr368046/Azpect.java new file mode 100644 index 000000000..ab3bf6d74 --- /dev/null +++ b/tests/bugs174/pr368046/Azpect.java @@ -0,0 +1,5 @@ +public aspect Azpect { + before(): execution(* *(..)) { + System.out.println("advice"); + } +} diff --git a/tests/bugs174/pr368046/Code.java b/tests/bugs174/pr368046/Code.java new file mode 100644 index 000000000..618e3dbd1 --- /dev/null +++ b/tests/bugs174/pr368046/Code.java @@ -0,0 +1,5 @@ +public class Code { + public static void main(String []argv) { + System.out.println("running"); + } +} diff --git a/tests/bugs174/pr368046/aop1.xml b/tests/bugs174/pr368046/aop1.xml new file mode 100644 index 000000000..be9a87c1d --- /dev/null +++ b/tests/bugs174/pr368046/aop1.xml @@ -0,0 +1,6 @@ +<aspectj> + <aspects> + <aspect name="Azpect"/> + </aspects> + <weaver options="-verbose"/> +</aspectj> diff --git a/tests/bugs174/pr368046/aop2.xml b/tests/bugs174/pr368046/aop2.xml new file mode 100644 index 000000000..f9d201ec7 --- /dev/null +++ b/tests/bugs174/pr368046/aop2.xml @@ -0,0 +1,6 @@ +<aspectj> + <aspects> + <aspect name="Azpect"/> + </aspects> + <weaver options="-verbose -loadersToSkip:com.foo.Bar"/> +</aspectj> diff --git a/tests/bugs174/pr368046/aop3.xml b/tests/bugs174/pr368046/aop3.xml new file mode 100644 index 000000000..45c088588 --- /dev/null +++ b/tests/bugs174/pr368046/aop3.xml @@ -0,0 +1,6 @@ +<aspectj> + <aspects> + <aspect name="Azpect"/> + </aspects> + <weaver options="-verbose -loadersToSkip:org.aspectj.weaver.loadtime.WeavingURLClassLoader"/> +</aspectj> |