Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332923 - RegionResolverHook to cast BundleRevision to BundleDescription
Summary: RegionResolverHook to cast BundleRevision to BundleDescription
Status: CLOSED FIXED
Alias: None
Product: Virgo
Classification: RT
Component: runtime (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.0.0.M01   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 332771
Blocks:
  Show dependency tree
 
Reported: 2010-12-20 03:59 EST by Glyn Normington CLA
Modified: 2011-02-11 09:36 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glyn Normington CLA 2010-12-20 03:59:32 EST
In the case where BundleRevision.getBundle() returns null, we can safely cast the BundleRevision to be a BundleDescription (instead of a ResolverBundle) in the isMember method of RegionResolverHook.

This depends on the change mentioned in bug 332771 comment 11.