Browse Source

* don't mark compiler-generated routines as "synthetic", because that
makes them uncallable from actual Java code (javac hides them), which
is not the idea (otherwise you can't e.g. create record types in Java)

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

Jonas Maebe 14 years ago
parent
commit
7eef5e1c74
1 changed files with 0 additions and 2 deletions
  1. 0 2
      compiler/agjasmin.pas

+ 0 - 2
compiler/agjasmin.pas

@@ -711,8 +711,6 @@ implementation
            (not(po_virtualmethod in pd.procoptions) and
            (not(po_virtualmethod in pd.procoptions) and
             not(pd.proctypeoption in [potype_constructor,potype_class_constructor])) then
             not(pd.proctypeoption in [potype_constructor,potype_class_constructor])) then
           result:=result+'final ';
           result:=result+'final ';
-        if (pd.synthetickind<>tsk_none) then
-          result:=result+'synthetic ';
         result:=result+pd.jvmmangledbasename;
         result:=result+pd.jvmmangledbasename;
       end;
       end;