* 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 -
This commit is contained in:
Jonas Maebe 2011-08-20 07:56:42 +00:00
parent 5f17c0e970
commit 2f4599cc5b

View File

@ -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^