mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 10:56:08 +02:00
codetools: jvm: has no iinterface
git-svn-id: branches/fixes_1_4@48330 -
This commit is contained in:
parent
11fd274c95
commit
3b17cceb51
@ -4543,6 +4543,8 @@ begin
|
|||||||
// default interface is IDispatch
|
// default interface is IDispatch
|
||||||
BaseClassName:='IDispatch';
|
BaseClassName:='IDispatch';
|
||||||
end else if ClassNode.Desc in AllClassInterfaces then begin
|
end else if ClassNode.Desc in AllClassInterfaces then begin
|
||||||
|
if Scanner.Values.IsDefined('CPUJVM') then
|
||||||
|
exit; // JVM has no default interface
|
||||||
// Delphi has as default interface IInterface
|
// Delphi has as default interface IInterface
|
||||||
// FPC has as default interface IUnknown and an alias IInterface = IUnknown
|
// FPC has as default interface IUnknown and an alias IInterface = IUnknown
|
||||||
if CompareSrcIdentifiers(ClassIdentNode.StartPos,'IUnknown') then exit;
|
if CompareSrcIdentifiers(ClassIdentNode.StartPos,'IUnknown') then exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user