[ 
https://issues.apache.org/jira/browse/FELIX-4868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14587890#comment-14587890
 ] 

Harald Wellmann commented on FELIX-4868:
----------------------------------------

JB, can you explain about the "new resolver"? I ran into the same problem with 
org.apache.felix.framework:5.0.0 in the context of Pax CDI. I'm not using a 
resolver bundle (at least not consciously).

Does that mean I have to add another bundle? Or try a SNAPSHOT build of the 
framework bundle?

> Framework should not create a classloader for a fragment
> --------------------------------------------------------
>
>                 Key: FELIX-4868
>                 URL: https://issues.apache.org/jira/browse/FELIX-4868
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-5.0.0
>            Reporter: Jean-Baptiste Onofré
>            Priority: Critical
>             Fix For: resolver-1.4.0
>
>
> Assuming we have:
> - bundle A
> - and bundle B which is a fragment to A
> We have classes exported by both bundle A and bundle B, which is not correct: 
> as bundle B is a fragment, it should use the same classloader as the host, so 
> the classloader of bundle A.
> It's the case in Karaf (4.0.0-SNAPSHOT):
> - we have the class org.apache.karaf.shell.commands.basic.AbstractCommand 
> provided by org.apache.karaf.shell.core and org.apache.karaf.shell.console 
> bundles
> - where org.apache.karaf.shell.console is a fragment to 
> org.apache.karaf.shell.core



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to