[ 
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)

Reply via email to