You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "David Jencks (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/10 03:01:52 UTC
[jira] [Resolved] (ARIES-777) AriesFrameworkUtil FelixWorker
doesn't work on r4.3 felixes
[ https://issues.apache.org/jira/browse/ARIES-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks resolved ARIES-777.
--------------------------------
Resolution: Fixed
Fix committed in rev 1200093
> AriesFrameworkUtil FelixWorker doesn't work on r4.3 felixes
> -----------------------------------------------------------
>
> Key: ARIES-777
> URL: https://issues.apache.org/jira/browse/ARIES-777
> Project: Aries
> Issue Type: Bug
> Components: Util
> Affects Versions: util-0.4
> Reporter: David Jencks
> Assignee: David Jencks
>
> The felix-specific way to get a bundle's classloader has changed to something like
> List<BundleRevision> revisions = b.adapt(BundleRevisions.class).getRevisions();
> if (!revisions.isEmpty()) {
> BundleRevision revision = revisions.get(0);
> return ((BundleRevisionImpl)revision).getProtectionDomain().getClassLoader();
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira