mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +02:00
* don't mark non-virtual class methods automatically as "final"
git-svn-id: branches/jvmbackend@18729 -
This commit is contained in:
parent
13d68da2be
commit
2338463a4b
@ -728,6 +728,7 @@ implementation
|
||||
if (pd.procsym.owner.symtabletype in [globalsymtable,staticsymtable,localsymtable]) or
|
||||
(po_finalmethod in pd.procoptions) or
|
||||
(not(po_virtualmethod in pd.procoptions) and
|
||||
not(po_classmethod in pd.procoptions) and
|
||||
not(pd.proctypeoption in [potype_constructor,potype_class_constructor])) then
|
||||
result:=result+'final ';
|
||||
result:=result+pd.jvmmangledbasename(false);
|
||||
|
Loading…
Reference in New Issue
Block a user