mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 13:59:29 +02:00
* do not check whether all interface methods are implemented in abstract
Java classes. TODO: do perform this check in the first non-abstract Java class that descends from such classes git-svn-id: branches/jvmbackend@18402 -
This commit is contained in:
parent
410094c1b8
commit
5f17c0e970
@ -799,7 +799,10 @@ implementation
|
||||
and Java interfaces can have multiple parent interfaces, but in that
|
||||
case obviously no implementations are required) }
|
||||
if assigned(_class.ImplementedInterfaces) and
|
||||
not(_class.objecttype in [odt_objcprotocol,odt_interfacejava]) then
|
||||
not(_class.objecttype in [odt_objcprotocol,odt_interfacejava]) and
|
||||
// abstract java classes do not have to implement all interface
|
||||
// methods. todo: check that non-abstract descendents do!
|
||||
not((_class.objecttype=odt_javaclass) and (oo_is_abstract in _class.objectoptions)) then
|
||||
begin
|
||||
{ Collect implementor functions into the tImplementedInterface.procdefs }
|
||||
case _class.objecttype of
|
||||
|
Loading…
Reference in New Issue
Block a user