felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (FELIX-4868) Framework should not create a classloader for a fragment
Date Tue, 16 Jun 2015 10:55:01 GMT

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

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

I gonna test if the problem still exists.

> 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: framework-5.1.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)

Mime
View raw message