Return-Path: X-Original-To: apmail-aries-dev-archive@www.apache.org Delivered-To: apmail-aries-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C560D9640 for ; Wed, 9 Nov 2011 01:56:12 +0000 (UTC) Received: (qmail 58554 invoked by uid 500); 9 Nov 2011 01:56:12 -0000 Delivered-To: apmail-aries-dev-archive@aries.apache.org Received: (qmail 58516 invoked by uid 500); 9 Nov 2011 01:56:12 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 58508 invoked by uid 99); 9 Nov 2011 01:56:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 01:56:12 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 01:56:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8ACF63EE2D for ; Wed, 9 Nov 2011 01:55:51 +0000 (UTC) Date: Wed, 9 Nov 2011 01:55:51 +0000 (UTC) From: "David Jencks (Commented) (JIRA)" To: dev@aries.apache.org Message-ID: <300331249.12881.1320803751570.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <18215438.12835.1320802551540.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (ARIES-777) AriesFrameworkUtil FelixWorker doesn't work on r4.3 felixes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ARIES-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146724#comment-13146724 ] David Jencks commented on ARIES-777: ------------------------------------ Umm, that would be return b.adapt(BundleWiring.class).getClassLoader(); which should work for equinox too. > 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 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