Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
scr-2.1.20
-
None
Description
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.