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

        

Reply via email to