From 64dbeb02963f33402f1be54aea36c1bba1d7c93c Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 12 Jan 2009 20:25:14 +0000 Subject: 260384: testcode and fix --- tests/bugs164/pr260384/Broken.java | 18 ++++++++++++++++++ tests/bugs164/pr260384/Broken2.java | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 tests/bugs164/pr260384/Broken.java create mode 100644 tests/bugs164/pr260384/Broken2.java 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*(..)) {} +} -- cgit v1.2.3