--- /dev/null
+public class DomainLogic<E, D extends DomainObject<E>> { }
--- /dev/null
+public class DomainObject<E> { }
--- /dev/null
+//@Configurable
+public class FancyDomainLogic<E, D extends DomainObject<E>> extends DomainLogic<E, D> { }
+
+aspect X {
+declare parents: FancyDomainLogic implements java.io.Serializable;
+}
--- /dev/null
+public class FancyDomainLogicImpl <E, D extends DomainObject<E>> extends FancyDomainLogic<E, D> { }
// runTest("generics bridge");
// }
+ public void testGenericSigProblem_pr284297() {
+ runTest("generic signature problem");
+ }
+
public void testInterfacesSerializable_pr283229() {
runTest("interfaces and serializable");
}
<suite>
+ <ajc-test dir="bugs166/pr284297" title="generic signature problem">
+ <compile files="DomainLogic.java DomainObject.java FancyDomainLogic.java" options="-1.5" outjar="code.jar"/>
+ <compile files="FancyDomainLogicImpl.java" options="-1.5" classpath="code.jar"/>
+ </ajc-test>
+
<ajc-test dir="bugs166/pr283229" title="interfaces and serializable">
<compile files="Foo.java" options="-1.5 -XaddSerialVersionUID"/>
<run class="Foo">