diff options
author | aclement <aclement> | 2010-05-03 17:48:11 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-05-03 17:48:11 +0000 |
commit | f36300f8ce14d6d971144a62a784d11c9540379d (patch) | |
tree | 8814b0e543b8390b457109084cd716cf263eee0f /tests | |
parent | b8d22ad7b1b0304154ba631e9e5c71097dd55717 (diff) | |
download | aspectj-f36300f8ce14d6d971144a62a784d11c9540379d.tar.gz aspectj-f36300f8ce14d6d971144a62a784d11c9540379d.zip |
122460
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bugs169/pr122460/one/A.java | 6 | ||||
-rw-r--r-- | tests/bugs169/pr122460/one/Code.java | 6 | ||||
-rw-r--r-- | tests/bugs169/pr122460/one/Runner.java | 6 | ||||
-rw-r--r-- | tests/bugs169/pr122460/one/aop.xml | 7 | ||||
-rw-r--r-- | tests/bugs169/pr122460/one/aop_codeonly.xml | 7 | ||||
-rw-r--r-- | tests/bugs169/pr122460/one/aop_none.xml | 7 |
6 files changed, 39 insertions, 0 deletions
diff --git a/tests/bugs169/pr122460/one/A.java b/tests/bugs169/pr122460/one/A.java new file mode 100644 index 000000000..7729e299d --- /dev/null +++ b/tests/bugs169/pr122460/one/A.java @@ -0,0 +1,6 @@ +package a; +aspect A { + before():staticinitialization(!A) { + System.out.println("intercepted "+thisJoinPoint.getSignature().getDeclaringType()); + } +} diff --git a/tests/bugs169/pr122460/one/Code.java b/tests/bugs169/pr122460/one/Code.java new file mode 100644 index 000000000..9cc191dc2 --- /dev/null +++ b/tests/bugs169/pr122460/one/Code.java @@ -0,0 +1,6 @@ +package code; +public class Code { + public static void main(String[] argv) { + new runner.Runner().run(); + } +} diff --git a/tests/bugs169/pr122460/one/Runner.java b/tests/bugs169/pr122460/one/Runner.java new file mode 100644 index 000000000..56f51300e --- /dev/null +++ b/tests/bugs169/pr122460/one/Runner.java @@ -0,0 +1,6 @@ +package runner; +public class Runner { + public void run() { + System.out.println("running"); + } +} diff --git a/tests/bugs169/pr122460/one/aop.xml b/tests/bugs169/pr122460/one/aop.xml new file mode 100644 index 000000000..2d924c8b8 --- /dev/null +++ b/tests/bugs169/pr122460/one/aop.xml @@ -0,0 +1,7 @@ +<aspectj> +<aspects> + <aspect name="a.A"/> +</aspects> +<weaver> +</weaver> +</aspectj> diff --git a/tests/bugs169/pr122460/one/aop_codeonly.xml b/tests/bugs169/pr122460/one/aop_codeonly.xml new file mode 100644 index 000000000..f313cd676 --- /dev/null +++ b/tests/bugs169/pr122460/one/aop_codeonly.xml @@ -0,0 +1,7 @@ +<aspectj> +<aspects> + <aspect name="a.A" scope="!runner.Runner AND code.Code"/> +</aspects> +<weaver> +</weaver> +</aspectj> diff --git a/tests/bugs169/pr122460/one/aop_none.xml b/tests/bugs169/pr122460/one/aop_none.xml new file mode 100644 index 000000000..2d3993002 --- /dev/null +++ b/tests/bugs169/pr122460/one/aop_none.xml @@ -0,0 +1,7 @@ +<aspectj> +<aspects> + <aspect name="a.A" scope="!*"/> +</aspects> +<weaver> +</weaver> +</aspectj> |