mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-31 14:16:11 +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
|
||||
BaseClassName:='IDispatch';
|
||||
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
|
||||
// FPC has as default interface IUnknown and an alias IInterface = IUnknown
|
||||
if CompareSrcIdentifiers(ClassIdentNode.StartPos,'IUnknown') then exit;
|
||||
|
Loading…
Reference in New Issue
Block a user