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

Bug 332233

Summary: BundleRevision.getDeclaredCapabilities does not work
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: 3.7 M5   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
patch none

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.