aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs161
diff options
context:
space:
mode:
authoraclement <aclement>2008-06-10 22:45:55 +0000
committeraclement <aclement>2008-06-10 22:45:55 +0000
commitb6964089f1c56d86697c27823a065b7b2d5bf56e (patch)
treeee9b9153d7cbb6e0b447d50198360bf0e6bc6fe3 /tests/bugs161
parent248962b92ffa409d11122d2504e84567c7c34354 (diff)
downloadaspectj-b6964089f1c56d86697c27823a065b7b2d5bf56e.tar.gz
aspectj-b6964089f1c56d86697c27823a065b7b2d5bf56e.zip
230075: testcode
Diffstat (limited to 'tests/bugs161')
-rw-r--r--tests/bugs161/pr230075/A.java3
-rw-r--r--tests/bugs161/pr230075/B.java4
-rw-r--r--tests/bugs161/pr230075/C.java13
-rw-r--r--tests/bugs161/pr230075/X.java3
4 files changed, 23 insertions, 0 deletions
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();}
+}