-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X EE, Master
-
Fix Version/s: 7.0.0 DXP FP22, 7.0.0 DXP SP4, 7.0.X EE, 7.0.4 CE GA5, 7.1.X, Master
-
Component/s: Dev Tools > Source Formatter
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
LPS-67876 is long time fixed but we repeat this problem again and again.
OSGi Configurations are shared across bundles but are not created with location == "?"
It's dangerous to call
- org.osgi.service.cm.ConfigurationAdmin#getConfiguration(java.lang.String)
- org.osgi.service.cm.ConfigurationAdmin#getConfiguration(String pid, String location) with location != "?"
The only safe call is configurationAdmin.getConfiguration( ... , "?")
- relates
-
LPS-67876 Configuration objects should never be created with null for the location. This allows forces the configuration objects to be bound to a bundle and not accessible from other bundles.
- Closed