Browse Source

* also use the JVM-specific mangled name code for fields for Java interfaces
(since they also can have static fields)

git-svn-id: branches/jvmbackend@18403 -

Jonas Maebe 14 years ago
parent
commit
2f4599cc5b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/symsym.pas

+ 1 - 1
compiler/symsym.pas

@@ -1218,7 +1218,7 @@ implementation
         srsymtable : tsymtable;
         srsymtable : tsymtable;
       begin
       begin
 {$ifdef jvm}
 {$ifdef jvm}
-        if is_javaclass(tdef(owner.defowner)) then
+        if is_java_class_or_interface(tdef(owner.defowner)) then
           begin
           begin
             if assigned(cachedmangledname) then
             if assigned(cachedmangledname) then
               result:=cachedmangledname^
               result:=cachedmangledname^