Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356529 - [region] VISIBLE_BUNDLE_NAMESPACE javadoc states bundle-symbolic-name attribute is used
Summary: [region] VISIBLE_BUNDLE_NAMESPACE javadoc states bundle-symbolic-name attribu...
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Components (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: Juno M2   Edit
Assignee: Thomas Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 17:01 EDT by Thomas Watson CLA
Modified: 2011-09-01 17:03 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Watson CLA 2011-09-01 17:01:42 EDT
According to the javadoc for RegionFiler.VISIBLE_BUNDLE_NAMESPACE the attribute bundle-symbolic-name should be used to match the symbolic name for filters in this namespace.  The implementation actually uses the attribute RegionFiler.VISIBLE_BUNDLE_NAMESPACE (org.eclipse.equinox.allow.bundle).

We need to fix this to at least also check for the bundle-symbolic-name attribute in the filter.  For now we can add the BSN value under both attributes to match against the filter.  This allows us to support the bundle-symbolic-name attribute while also preserving the old behavior incase someone is using the org.eclipse.equinox.allow.bundle in their filters.