--- /dev/null
+import java.util.*;
+
+interface I extends Collection { }
+
+class B implements I {
+
+ public Object[] toArray(Object[] os) { return os; }
+
+ public boolean add(Object o) { return false; }
+ public boolean addAll(Collection c) { return false; }
+ public void clear() { }
+ public boolean contains(Object o) { return false; }
+ public boolean containsAll(Collection c) { return false; }
+ public boolean isEmpty() { return false; }
+ public Iterator iterator() { return null; }
+ public boolean remove(Object o) { return false; }
+ public boolean removeAll(Collection c) { return false; }
+ public boolean retainAll(Collection c) { return false; }
+ public int size() { return 0; }
+ public Object[] toArray() { return null; }
+}
+
+class C { }
+
+aspect X {
+ declare parents: C extends B;
+}
+
// public void testArgnamesAndJavac_pr148381() { runTest("argNames and javac");}
// public void testCFlowXMLAspectLTW_pr149096() { runTest("cflow xml concrete aspect"); }
+ public void testGenericInheritanceDecp_pr150095() { runTest("generics, inheritance and decp");}
public void testIllegalStateException_pr148737() { runTest("illegalstateexception for non generic type");}
public void testAtajInheritance_pr149305_1() { runTest("ataj inheritance - 1");}
public void testAtajInheritance_pr149305_2() { runTest("ataj inheritance - 2");}
</run>
</ajc-test>
+ <ajc-test dir="bugs153/pr150095" title="generics, inheritance and decp">
+ <compile files="Foo.java" options="-1.5"/>
+ </ajc-test>
+
<ajc-test dir="bugs153/pr149322" title="can't find type on interface call">
<compile files="Interface.java"/>
<compile