Prechádzať zdrojové kódy

* fixed writing ".implements" directives for implemented nested interfaces

git-svn-id: branches/jvmbackend@19866 -
Jonas Maebe 13 rokov pred
rodič
commit
c9f19d710b
1 zmenil súbory, kde vykonal 1 pridanie a 3 odobranie
  1. 1 3
      compiler/agjasmin.pas

+ 1 - 3
compiler/agjasmin.pas

@@ -612,9 +612,7 @@ implementation
                   begin
                   begin
                     intf:=TImplementedInterface(tobjectdef(obj).ImplementedInterfaces[i]).IntfDef;
                     intf:=TImplementedInterface(tobjectdef(obj).ImplementedInterfaces[i]).IntfDef;
                     AsmWrite('.implements ');
                     AsmWrite('.implements ');
-                    if assigned(intf.import_lib) then
-                      AsmWrite(intf.import_lib^+'/');
-                    AsmWriteln(intf.objextname^);
+                    AsmWriteLn(intf.jvm_full_typename(true));
                   end;
                   end;
               end;
               end;
             { signature for enum classes (must come after superclass and
             { signature for enum classes (must come after superclass and