From f36300f8ce14d6d971144a62a784d11c9540379d Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 3 May 2010 17:48:11 +0000 Subject: [PATCH] 122460 --- tests/bugs169/pr122460/one/A.java | 6 ++++++ tests/bugs169/pr122460/one/Code.java | 6 ++++++ tests/bugs169/pr122460/one/Runner.java | 6 ++++++ tests/bugs169/pr122460/one/aop.xml | 7 +++++++ tests/bugs169/pr122460/one/aop_codeonly.xml | 7 +++++++ tests/bugs169/pr122460/one/aop_none.xml | 7 +++++++ 6 files changed, 39 insertions(+) create mode 100644 tests/bugs169/pr122460/one/A.java create mode 100644 tests/bugs169/pr122460/one/Code.java create mode 100644 tests/bugs169/pr122460/one/Runner.java create mode 100644 tests/bugs169/pr122460/one/aop.xml create mode 100644 tests/bugs169/pr122460/one/aop_codeonly.xml create mode 100644 tests/bugs169/pr122460/one/aop_none.xml 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 @@ + + + + + + + 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 @@ + + + + + + + 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 @@ + + + + + + + -- 2.39.5