You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Tom Watson (Jira)" <ji...@apache.org> on 2020/08/12 15:55:00 UTC
[jira] [Resolved] (FELIX-6274) Potential Class Space problems with
multiple Log Service APIs
[ https://issues.apache.org/jira/browse/FELIX-6274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Watson resolved FELIX-6274.
-------------------------------
Resolution: Fixed
> 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
> Priority: Major
> 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)