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

Bug 350961

Summary: [R4.4] Use new osgi.identity for singleton capabilities passed to resolver hooks
Product: [Eclipse Project] Equinox Reporter: Thomas Watson <tjwatson>
Component: FrameworkAssignee: Thomas Watson <tjwatson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: Juno M1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on:    
Bug Blocks: 354191    
Attachments:
Description Flags
patch + test none

Description Thomas Watson CLA 2011-07-01 15:15:12 EDT
The R4.3 specification has a bug in that it specifies that the osgi.wiring.bundle namespace is used for the capability that designates a bundle is a singleton or not.  The issue with using that namespace is that fragments do not offer a capability in that namespace.

R4.4 specification is defining a new osgi.identity namespace which all bundles and fragments will provide.  This new capability namespace should be used for calling to resolver hooks to determine singleton collisions.
Comment 1 Thomas Watson CLA 2011-07-14 12:29:12 EDT
Created attachment 199682 [details]
patch + test

Here is the fix and test.