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

Jean-Baptiste Onofré commented on FELIX-4868:
---------------------------------------------

I re-tested it and the problem is fixed in the new resolver.

> 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