Bug 572546 - [E4] ServiceSupplier updates fields unnecessary
Summary: [E4] ServiceSupplier updates fields unnecessary
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.20   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-02 02:33 EDT by Christoph Laeubrich CLA
Modified: 2021-04-02 02:33 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Laeubrich CLA 2021-04-02 02:33:27 EDT
Currently ServiceSupplier updates an injected field on every change regardless of the value actually has changed:

- a new service is registered but with a lower rank
- a service changed properties but no filter is applied or the filter does not filter the changed property

While it would be possible to detect these cases the current injector framework makes it hard to efficiently handle the case in general but for the mentioned cases it might be possible to at least fix this for the single field injection case.