felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Pauls (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-1631) Implicit bootdelegation causes hang on android
Date Wed, 23 Sep 2009 06:05:16 GMT

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

Karl Pauls resolved FELIX-1631.

    Resolution: Fixed

Our implicit bootdelegation detection assumes that if we walk a classloader.getClass.getClassloader()
chain we will ultimately arrive at the bootclassloader which is represented by null. Apparently
this is not true on android but at one point we get the same classloader for the next as the
one we already have (i.e., we run into an endless loop). I commited a fix which makes sure
we stop if we hit null or the same classloader again which seems to fix the issue.

> Implicit bootdelegation causes hang on android
> ----------------------------------------------
>                 Key: FELIX-1631
>                 URL: https://issues.apache.org/jira/browse/FELIX-1631
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: felix-1.8.0, felix-1.8.1, felix-2.0.0
>            Reporter: Karl Pauls
>            Assignee: Karl Pauls
>             Fix For: felix-2.2.0
> When felix is embedded inside an android app and a bundle triggers a classload which
in turn hits our implicit bootdelegation then we run into an endless loop and hang. The workaround
for now is to set "felix.bootdelegation.implicit=false".

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

View raw message