aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs172/pr389750/Code.aj
diff options
context:
space:
mode:
authorAndy Clement <andrew.clement@gmail.com>2012-09-19 10:19:17 -0700
committerAndy Clement <andrew.clement@gmail.com>2012-09-19 10:19:17 -0700
commitb9c7a190f452cf888854e4fa6599269a5a2c0212 (patch)
treeb68bf4923bfd122c2933f2f0502d9119647d9de1 /tests/bugs172/pr389750/Code.aj
parent6cae3ed57c66d0659492ab1d12bc42cc10ad6f71 (diff)
downloadaspectj-b9c7a190f452cf888854e4fa6599269a5a2c0212.tar.gz
aspectj-b9c7a190f452cf888854e4fa6599269a5a2c0212.zip
389750: fix for ITDs that use generics made on generic types
Diffstat (limited to 'tests/bugs172/pr389750/Code.aj')
-rw-r--r--tests/bugs172/pr389750/Code.aj17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs172/pr389750/Code.aj b/tests/bugs172/pr389750/Code.aj
new file mode 100644
index 000000000..353a61af2
--- /dev/null
+++ b/tests/bugs172/pr389750/Code.aj
@@ -0,0 +1,17 @@
+import java.io.*;
+
+interface Persistable<ID extends Serializable> {
+
+}
+
+public aspect Code {
+
+ public interface I<ID extends Serializable> extends Persistable<ID> {
+ }
+
+ public static void foo() {}
+
+ public boolean I.equals(Persistable<?> that) {
+ return false;
+ }
+}