if (getDelegate() != null) {
delegate.ensureConsistent();
}
+ if (isRawType()) {
+ ReferenceType genericType = getGenericType();
+ if (genericType != null) {
+ genericType.ensureConsistent();
+ }
+ }
}
@Override
--- /dev/null
+package test.extender;
+import test.*;
+
+public aspect Extender {
+
+ declare parents: InterfaceProj1 extends InterfaceProj2;
+
+// declare parents: test.ClassProj1 extends ClassProj2;
+
+}
--- /dev/null
+package test;
+
+public interface InterfaceProj1<T> {
+
+ public abstract int aMethod();
+
+}
--- /dev/null
+package test.extender;
+
+public interface InterfaceProj2<T> {
+
+ public abstract int bMethod();
+
+}
\ No newline at end of file
*/
public class Ajc181Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
+ public void testJarWeaving_433351() {
+ runTest("jar weaving");
+ }
+
public void testParameterNamesAttribute_436531() {
runTest("parameter names attribute");
}
<suite>
+ <ajc-test dir="bugs181/433351" title="jar weaving">
+ <compile options="-1.5" files="InterfaceProj1.java" outjar="code.jar"/>
+ <compile options="-1.5 -showWeaveInfo" inpath="code.jar" files="Extender.aj InterfaceProj2.java">
+ <message kind="weave" text="Extending interface set for type 'test.InterfaceProj1' (InterfaceProj1.java) to include 'test.extender.InterfaceProj2' (Extender.aj)"/>
+ </compile>
+ </ajc-test>
+
<ajc-test dir="bugs181/436531" title="parameter names attribute">
<compile options="-1.8" files="Azpect.java" inpath="code.jar"/>
</ajc-test>