Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 547475

Summary: [Win32] Remove redundant COM interface vtables
Product: [Eclipse Project] Platform Reporter: Nikita Nemkin <nikita>
Component: SWTAssignee: Nikita Nemkin <nikita>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: niraj.modi
Version: 4.12   
Target Milestone: 4.13 M1   
Hardware: PC   
OS: Windows All   
See Also: https://git.eclipse.org/r/142429
https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=13fb2739bfa6ffe9f8b07a725be5b55157c720c3
Whiteboard:
Bug Depends on:    
Bug Blocks: 548364, 549414    

Description Nikita Nemkin CLA 2019-05-20 07:22:52 EDT
In case of COM interface inheritance, derived interface vtable (COMObject instance) can be reused as a base interface vtable. 

In particular, since every interface derives from IUnknown, it's never necessary to create a separate iUnknown COMObject.

This reuse doesn't affect object behavior in any way.
Comment 1 Eclipse Genie CLA 2019-05-20 07:25:19 EDT
New Gerrit change created: https://git.eclipse.org/r/142429