You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2015/06/26 14:31:04 UTC
[jira] [Commented] (FELIX-4871) The felix framework logger can't be
used with reflection anymore
[ https://issues.apache.org/jira/browse/FELIX-4871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14602808#comment-14602808 ]
Guillaume Nodet commented on FELIX-4871:
----------------------------------------
The logger needs to inherit the felix logger. This cause class loader constraints.
Specifically, karaf loads the framework in a different class loader, so the Main class which creates the framework using the framework launch API can't provide a logger if not using reflection.
> The felix framework logger can't be used with reflection anymore
> ----------------------------------------------------------------
>
> Key: FELIX-4871
> URL: https://issues.apache.org/jira/browse/FELIX-4871
> Project: Felix
> Issue Type: Bug
> Affects Versions: framework-5.0.0
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
>
> Not being able to use reflection means you need to create a separate jar for the logger so that it can be loaded with the required framework classes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)