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

Bug 338849

Summary: bundle command should use selected exports for display
Product: [Eclipse Project] Equinox Reporter: Thomas Watson <tjwatson>
Component: FrameworkAssignee: Thomas Watson <tjwatson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: l.kirchev
Version: 3.7   
Target Milestone: 3.7 M6   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
patch none

Description Thomas Watson CLA 2011-03-03 15:25:22 EST
The current bundle command uses BundleDescription.getExportPackages() to get a list of packages exported from a bundle.  It should really use BundleDescription.getSelectedExports() to get a accurate list of packages exported by a resolved bundle.  This method takes into account dropped exports (in case of substitutes) and exports from fragments.
Comment 1 Thomas Watson CLA 2011-03-03 15:34:10 EST
Created attachment 190306 [details]
patch

Lazar, notice that I changed the implementation of the bundle command here.
Comment 2 Thomas Watson CLA 2011-03-03 15:34:51 EST
patch released.