summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2009-01-12 20:25:14 +0000
committeraclement <aclement>2009-01-12 20:25:14 +0000
commit64dbeb02963f33402f1be54aea36c1bba1d7c93c (patch)
tree5b2d69fff53203093502e6b43a0f74cc09125a20
parent48c2e8d42715597b2ce3cb5e039115629d38a6cb (diff)
downloadaspectj-64dbeb02963f33402f1be54aea36c1bba1d7c93c.tar.gz
aspectj-64dbeb02963f33402f1be54aea36c1bba1d7c93c.zip
260384: testcode and fix
-rw-r--r--tests/bugs164/pr260384/Broken.java18
-rw-r--r--tests/bugs164/pr260384/Broken2.java18
2 files changed, 36 insertions, 0 deletions
diff --git a/tests/bugs164/pr260384/Broken.java b/tests/bugs164/pr260384/Broken.java
new file mode 100644
index 000000000..c3e9cb14e
--- /dev/null
+++ b/tests/bugs164/pr260384/Broken.java
@@ -0,0 +1,18 @@
+
+interface I {
+ void getCode();
+}
+
+abstract class C1 implements I {
+}
+
+abstract class C2 extends C1 {
+ public void m() {
+ getCode();
+ }
+}
+
+
+aspect X {
+ before(int i): args(i) { }// call(* *(..)) && args(i) {}
+}
diff --git a/tests/bugs164/pr260384/Broken2.java b/tests/bugs164/pr260384/Broken2.java
new file mode 100644
index 000000000..80ffb7db1
--- /dev/null
+++ b/tests/bugs164/pr260384/Broken2.java
@@ -0,0 +1,18 @@
+
+interface I {
+ void getCode();
+}
+
+abstract class C1 implements I {
+}
+
+abstract class C2 extends C1 {
+ public void m() {
+ getCode();
+ }
+}
+
+
+aspect X {
+ before(): call(* g*(..)) {}
+}