Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350961 - [R4.4] Use new osgi.identity for singleton capabilities passed to resolver hooks
Summary: [R4.4] Use new osgi.identity for singleton capabilities passed to resolver hooks
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: Juno M1   Edit
Assignee: Thomas Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 354191
  Show dependency tree
 
Reported: 2011-07-01 15:15 EDT by Thomas Watson CLA
Modified: 2011-08-08 17:36 EDT (History)
0 users

See Also:


Attachments
patch + test (6.83 KB, patch)
2011-07-14 12:29 EDT, Thomas Watson CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.