Timothy James Ward created FELIX-6274:
-----------------------------------------
Summary: Potential Class Space problems with multiple Log Service
APIs
Key: FELIX-6274
URL: https://issues.apache.org/jira/browse/FELIX-6274
Project: Felix
Issue Type: Bug
Components: Declarative Services (SCR)
Affects Versions: scr-2.1.20
Reporter: Timothy James Ward
Fix For: scr-2.1.22
The Declarative Services specification requires SCR to inject Logger
implementations into a DS component (if requested). In order to find a suitable
Log Service SCR uses its *own* BundleContext, not the context of the bundle
being extended. This means that if the bundle being extended has a different
view of the Log Service API then the injection will fail with a
ClassCastException.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)