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

Richard S. Hall edited comment on FELIX-1193 at 7/7/09 1:53 PM:
----------------------------------------------------------------

The Android issue appears to be a bug in the Android platform. On Sun's JDK and 
Harmony we are able to set the parent class loader to null to set the parent 
class loader as the boot class loader. This appears to be problematic on 
Android.

I committed a patch to work around this issue. Essentially, we special case the 
situation where we cannot set the parent class loader to null and in that case 
set it to the system class loader by default instead of the boot class loader. 
If you could test this and let us know if it works, that would be great. Thanks.

      was (Author: rickhall):
    The Android issue appears to be a bug in the Android platform. On Sun's JDK 
and Harmony we are able to set the parent class loader to null to set the 
parent class loader as the boot class loader. This appears to be problematic on 
Android.

I committed a patch to work around this issue. Essentially, we special case the 
situation where we cannot set the parent class loader to null and in that case 
set it to the system class loader by default instead of the boot class loader. 
If you could test this and close the issue if it works, that would be great. 
Thanks.
  
> Implement org.osgi.framework.bundle.parent from RFC 132
> -------------------------------------------------------
>
>                 Key: FELIX-1193
>                 URL: https://issues.apache.org/jira/browse/FELIX-1193
>             Project: Felix
>          Issue Type: New Feature
>          Components: Framework, Specification compliance
>    Affects Versions: felix-1.8.0
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>             Fix For: felix-2.0.0
>
>
> The new standard framework launching and embedding API introduced a property 
> (org.osgi.framework.bundle.parent) to configure the class loader used for 
> boot delegation. We should modify Felix to support this property.

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

Reply via email to