diff options
author | Andy Clement <andrew.clement@gmail.com> | 2012-09-19 10:19:17 -0700 |
---|---|---|
committer | Andy Clement <andrew.clement@gmail.com> | 2012-09-19 10:19:17 -0700 |
commit | b9c7a190f452cf888854e4fa6599269a5a2c0212 (patch) | |
tree | b68bf4923bfd122c2933f2f0502d9119647d9de1 /tests/bugs172/pr389750/Code2.aj | |
parent | 6cae3ed57c66d0659492ab1d12bc42cc10ad6f71 (diff) | |
download | aspectj-b9c7a190f452cf888854e4fa6599269a5a2c0212.tar.gz aspectj-b9c7a190f452cf888854e4fa6599269a5a2c0212.zip |
389750: fix for ITDs that use generics made on generic types
Diffstat (limited to 'tests/bugs172/pr389750/Code2.aj')
-rw-r--r-- | tests/bugs172/pr389750/Code2.aj | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs172/pr389750/Code2.aj b/tests/bugs172/pr389750/Code2.aj new file mode 100644 index 000000000..b9d43519f --- /dev/null +++ b/tests/bugs172/pr389750/Code2.aj @@ -0,0 +1,17 @@ +import java.io.*; + +interface Persistable<ID extends Serializable> { + +} + +public aspect Code2 { + + public interface I<ID extends Serializable> extends Persistable<ID> { + } + + public static void foo() {} + + public Z I<Z>.bar(Z foo, Persistable<?> that) { + return foo; + } +} |