diff options
author | aclement <aclement> | 2009-01-12 20:25:14 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-01-12 20:25:14 +0000 |
commit | 64dbeb02963f33402f1be54aea36c1bba1d7c93c (patch) | |
tree | 5b2d69fff53203093502e6b43a0f74cc09125a20 | |
parent | 48c2e8d42715597b2ce3cb5e039115629d38a6cb (diff) | |
download | aspectj-64dbeb02963f33402f1be54aea36c1bba1d7c93c.tar.gz aspectj-64dbeb02963f33402f1be54aea36c1bba1d7c93c.zip |
260384: testcode and fix
-rw-r--r-- | tests/bugs164/pr260384/Broken.java | 18 | ||||
-rw-r--r-- | tests/bugs164/pr260384/Broken2.java | 18 |
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*(..)) {} +} |