You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Karl Pauls (JIRA)" <ji...@apache.org> on 2009/09/23 07:59:16 UTC
[jira] Created: (FELIX-1631) Implicit bootdelegation causes hang on
android
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-2.0.0, felix-1.8.1, felix-1.8.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.
[jira] Closed: (FELIX-1631) Implicit bootdelegation causes hang on
android
Posted by "Karl Pauls (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Pauls closed FELIX-1631.
-----------------------------
> 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.
[jira] Resolved: (FELIX-1631) Implicit bootdelegation causes hang
on android
Posted by "Karl Pauls (JIRA)" <ji...@apache.org>.
[ 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.