| Summary: | BundleRequirement/BundleCapability getAttributes/getDirectives must return all specified values | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Thomas Watson <tjwatson> | ||||||
| Component: | Framework | Assignee: | Thomas Watson <tjwatson> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | hargrave, jwross | ||||||
| Version: | 3.7 | ||||||||
| Target Milestone: | Juno M1 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Thomas Watson
targeting 3.7.1 for now. We should start the 3.7.x maint branch to hold this fix. OSGi will need this fix for the Core 4.3 Framework RI. (In reply to comment #2) > We should start the 3.7.x maint branch to hold this fix. OSGi will need this > fix for the Core 4.3 Framework RI. Before branching, I would like to see how difficult the fix is. If it is relatively simple perhaps we can consider for 3.7. Created attachment 197034 [details]
patch and tests
This is quite an ugly thing to do. In order to minimize the amount of change required and avoid any new API this fix adds arbitrary attrs and directives maps where necessary to store these useless/meaningless attributes and directives. This allows us to avoid the extra Map for each and every (sometimes 10s of 1000s) capability and requirement in the system.
Created attachment 197783 [details]
Juno Patch
Here is an updated patch for HEAD. The previous patch would be used for 3.7.1 if we decide to release it there.
Patch released for Juno M1. |