diff --git a/compiler/jvm/symcpu.pas b/compiler/jvm/symcpu.pas index 8da9056cae..573bd03a73 100644 --- a/compiler/jvm/symcpu.pas +++ b/compiler/jvm/symcpu.pas @@ -388,6 +388,7 @@ implementation -> copy original procdef } pd:=tprocdef(orgaccesspd.getcopy); exclude(pd.procoptions,po_abstractmethod); + exclude(pd.procoptions,po_overridingmethod); { can only construct the artificial accessorname now, because it requires pd.defid } if not explicitwrapper then