diff options
author | Andy Clement <andrew.clement@gmail.com> | 2013-04-01 14:34:25 -0700 |
---|---|---|
committer | Andy Clement <andrew.clement@gmail.com> | 2013-04-01 14:34:25 -0700 |
commit | 99414d4203fc52b93dfa8ecb69211766609137ad (patch) | |
tree | 22f560022a2bd577bef7b2bc9c07cebf1c2ec0a1 /tests/bugs173/pr404601 | |
parent | 1afe1016d04389da4918b3d91f0d8125183dd040 (diff) | |
download | aspectj-99414d4203fc52b93dfa8ecb69211766609137ad.tar.gz aspectj-99414d4203fc52b93dfa8ecb69211766609137ad.zip |
Fix for 404601
Added 1.7.3 test suite
Diffstat (limited to 'tests/bugs173/pr404601')
-rw-r--r-- | tests/bugs173/pr404601/user/IUser.java | 3 | ||||
-rw-r--r-- | tests/bugs173/pr404601/user/Test.java | 3 | ||||
-rw-r--r-- | tests/bugs173/pr404601/user/UserTrait.java | 12 | ||||
-rw-r--r-- | tests/bugs173/pr404601/user/Youser.java | 4 |
4 files changed, 22 insertions, 0 deletions
diff --git a/tests/bugs173/pr404601/user/IUser.java b/tests/bugs173/pr404601/user/IUser.java new file mode 100644 index 000000000..63aa144eb --- /dev/null +++ b/tests/bugs173/pr404601/user/IUser.java @@ -0,0 +1,3 @@ +public interface IUser { + void setUsername(String username); +} diff --git a/tests/bugs173/pr404601/user/Test.java b/tests/bugs173/pr404601/user/Test.java new file mode 100644 index 000000000..9212b0f3e --- /dev/null +++ b/tests/bugs173/pr404601/user/Test.java @@ -0,0 +1,3 @@ +public class Test { + public static void main(String[] argv) { new Youser("foo"); } +} diff --git a/tests/bugs173/pr404601/user/UserTrait.java b/tests/bugs173/pr404601/user/UserTrait.java new file mode 100644 index 000000000..fc0d0df56 --- /dev/null +++ b/tests/bugs173/pr404601/user/UserTrait.java @@ -0,0 +1,12 @@ +public aspect UserTrait { + public interface I extends IUser { } + + declare parents : Youser implements I; + + public void I.setUsername(String username) { + testSetUsername(username); + } + + private void I.testSetUsername(String username) { } + +} diff --git a/tests/bugs173/pr404601/user/Youser.java b/tests/bugs173/pr404601/user/Youser.java new file mode 100644 index 000000000..6919b505c --- /dev/null +++ b/tests/bugs173/pr404601/user/Youser.java @@ -0,0 +1,4 @@ +public class Youser { + public Youser(String username) { setUsername(username); } + public void testSetUsername(String username) { } +} |