[
https://issues.apache.org/jira/browse/FELIX-4868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré resolved FELIX-4868.
-----------------------------------------
Resolution: Fixed
Fix Version/s: (was: framework-5.1.0)
resolver-1.4.0
> 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)