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

Bug 356529

Summary: [region] VISIBLE_BUNDLE_NAMESPACE javadoc states bundle-symbolic-name attribute is used
Product: [Eclipse Project] Equinox Reporter: Thomas Watson <tjwatson>
Component: ComponentsAssignee: Thomas Watson <tjwatson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: Juno M2   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

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.