Bugzilla Bug 35725
Inter type declaration to base class not seen by derived class
<run class="Driver"/>
</ajc-test>
+ <ajc-test dir="bugs/interInherit" pr="35725"
+ title="Inter type declaration to base class not seen by derived class">
+ <compile files="a_impl/AImpl.java,a_impl/Af.java,a_intf/A.java,b_impl/BImpl.java,b_intf/B.java"/>
+ <run class="b_impl.BImpl"/>
+ </ajc-test>
+
+
</suite>
--- /dev/null
+package a_impl;
+
+import a_intf.A;
+
+public class AImpl
+ implements A
+{
+}
--- /dev/null
+package a_impl;
+
+import a_intf.A;
+
+aspect Af
+{
+ public A AImpl.f()
+ {
+ System.out.println( "f called" );
+ return null;
+ }
+}
--- /dev/null
+
+package a_intf;
+
+public interface A
+{
+ A f();
+}
--- /dev/null
+package b_impl;
+
+import a_impl.AImpl;
+import b_intf.B;
+
+public class BImpl
+ extends AImpl
+ implements B
+{
+ public B g()
+ {
+ System.out.println( "g called" );
+ return null;
+ }
+
+ public static void main(String[] args) {
+ new BImpl().g();
+ new BImpl().f();
+ }
+}
--- /dev/null
+
+package b_intf;
+
+import a_intf.A;
+
+public interface B
+ extends A
+{
+ B g();
+}
<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd">
<suite>
+
<!--
<ajc-test dir="new" pr="885"