mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-24 06:01:34 +02:00
* constructors are not inherited in Java
git-svn-id: branches/jvmbackend@18429 -
This commit is contained in:
parent
42798fd26b
commit
fa49ddac11
@ -584,9 +584,16 @@ var
|
||||
cdecl_pocalls : tproccalloptions;
|
||||
|
||||
const
|
||||
{$ifndef jvm}
|
||||
inherited_objectoptions : tobjectoptions = [oo_has_virtual,oo_has_private,oo_has_protected,
|
||||
oo_has_strictprotected,oo_has_strictprivate,oo_has_constructor,oo_has_destructor,
|
||||
oo_can_have_published];
|
||||
{$else not jvm}
|
||||
{ constructors are not inherited in Java }
|
||||
inherited_objectoptions : tobjectoptions = [oo_has_virtual,oo_has_private,oo_has_protected,
|
||||
oo_has_strictprotected,oo_has_strictprivate,oo_has_destructor,
|
||||
oo_can_have_published];
|
||||
{$endif not jvm}
|
||||
|
||||
{$ifdef i386}
|
||||
{ we only take this into account on i386, on other platforms we always
|
||||
|
||||
Loading…
Reference in New Issue
Block a user