From b6964089f1c56d86697c27823a065b7b2d5bf56e Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 10 Jun 2008 22:45:55 +0000 Subject: 230075: testcode --- tests/bugs161/pr230075/A.java | 3 +++ tests/bugs161/pr230075/B.java | 4 ++++ tests/bugs161/pr230075/C.java | 13 +++++++++++++ tests/bugs161/pr230075/X.java | 3 +++ 4 files changed, 23 insertions(+) create mode 100644 tests/bugs161/pr230075/A.java create mode 100644 tests/bugs161/pr230075/B.java create mode 100644 tests/bugs161/pr230075/C.java create mode 100644 tests/bugs161/pr230075/X.java (limited to 'tests/bugs161') diff --git a/tests/bugs161/pr230075/A.java b/tests/bugs161/pr230075/A.java new file mode 100644 index 000000000..a3f6189a9 --- /dev/null +++ b/tests/bugs161/pr230075/A.java @@ -0,0 +1,3 @@ +package a.a; +public class A extends a.B { +} diff --git a/tests/bugs161/pr230075/B.java b/tests/bugs161/pr230075/B.java new file mode 100644 index 000000000..1b13fdb8f --- /dev/null +++ b/tests/bugs161/pr230075/B.java @@ -0,0 +1,4 @@ +package a; +public abstract class B { + protected boolean test() { return true; } +} diff --git a/tests/bugs161/pr230075/C.java b/tests/bugs161/pr230075/C.java new file mode 100644 index 000000000..6ff5dc993 --- /dev/null +++ b/tests/bugs161/pr230075/C.java @@ -0,0 +1,13 @@ +package a; + +import a.a.A; +public class C { + protected A a = new A(); + public void run() { + a.test(); + } + + public static void main(String []argv) { + new C().run(); + } +} diff --git a/tests/bugs161/pr230075/X.java b/tests/bugs161/pr230075/X.java new file mode 100644 index 000000000..583ae8ce8 --- /dev/null +++ b/tests/bugs161/pr230075/X.java @@ -0,0 +1,3 @@ +aspect X { + Object around(): call(* test(..)) { return proceed();} +} -- cgit v1.2.3