From: aclement Date: Mon, 16 Jun 2008 23:56:43 +0000 (+0000) Subject: 134425: testcode X-Git-Tag: V1_6_1rc1~49 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=26cff8dd6f0a01ef0c442f20f505d9a2655ea772;p=aspectj.git 134425: testcode --- diff --git a/tests/bugs161/pr134425/Base.java b/tests/bugs161/pr134425/Base.java new file mode 100644 index 000000000..1ccf37ee1 --- /dev/null +++ b/tests/bugs161/pr134425/Base.java @@ -0,0 +1,8 @@ +package pkg; + +public aspect Base { + public interface BaseBean {} + public String BaseBean.describe() { + return "Base holds "+super.toString(); + } +} diff --git a/tests/bugs161/pr134425/Derived.java b/tests/bugs161/pr134425/Derived.java new file mode 100644 index 000000000..24e971790 --- /dev/null +++ b/tests/bugs161/pr134425/Derived.java @@ -0,0 +1,14 @@ +package pkg; + +import pkg.Base.BaseBean; + +public aspect Derived { + public interface DerivedBean extends BaseBean {} + + public String DerivedBean.describe() { + return "Derived state plus "+super.describe(); + } + public static void main(String args[]) { + new DerivedBean() {}.describe(); + } +}