You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2009/06/02 20:23:07 UTC

[jira] Closed: (FELIX-1190) Set parent classloader of bundle classloader to be same as what is actually used for delegation

     [ https://issues.apache.org/jira/browse/FELIX-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall closed FELIX-1190.
----------------------------------

    Resolution: Fixed
      Assignee: Richard S. Hall

I will close this issue, but we still need a full solution for RFC 132, which I am tracking with a different issue.

> Set parent classloader of bundle classloader to be same as what is actually used for delegation
> -----------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1190
>                 URL: https://issues.apache.org/jira/browse/FELIX-1190
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: felix-1.6.1
>         Environment: generic
>            Reporter: Sahoo
>            Assignee: Richard S. Hall
>             Fix For: felix-1.8.1
>
>         Attachments: FELIX-1190.txt
>
>
> Refer to a previous discussion in dev alias:
> http://mail-archives.apache.org/mod_mbox/felix-users/200804.mbox/%3c487a994c0804010552n35fc44eew34b34a1795e14d6f@mail.gmail.com%3e
> Currently, although Felix uses the classloader that loads Felix classes as the parent class loader for delegation, it actually sets system class loader as the parent (ClassLoader.getParent()). It is because when it creates a class loader, it does not set any parent, hence the default value is used. The fix should be particularly simple. e.g., get hold of a Felix framework class and use its classloader as the parent.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.