Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332233 - BundleRevision.getDeclaredCapabilities does not work
Summary: BundleRevision.getDeclaredCapabilities does not work
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: 3.7 M5   Edit
Assignee: Thomas Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-09 13:48 EST by Thomas Watson CLA
Modified: 2010-12-09 13:59 EST (History)
0 users

See Also:


Attachments
patch (19.38 KB, patch)
2010-12-09 13:57 EST, 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 2010-12-09 13:48:47 EST
There are several issues with the implementation of BundleRevision.getDeclaredCapabilities.  It always returns null results for BundleRevisions for fragments.  It also does not work for host bundles when they are not resolved.
Comment 1 Thomas Watson CLA 2010-12-09 13:57:14 EST
Created attachment 184888 [details]
patch
Comment 2 Thomas Watson CLA 2010-12-09 13:59:46 EST
Patch released.