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 529D4F67B for ; Tue, 13 Aug 2013 10:48:11 +0000 (UTC) Received: (qmail 63906 invoked by uid 500); 13 Aug 2013 10:48:08 -0000 Delivered-To: apmail-aries-dev-archive@aries.apache.org Received: (qmail 63738 invoked by uid 500); 13 Aug 2013 10:47:52 -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 62893 invoked by uid 99); 13 Aug 2013 10:47:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Aug 2013 10:47:48 +0000 Date: Tue, 13 Aug 2013 10:47:48 +0000 (UTC) From: "Mark Nuttall (JIRA)" To: dev@aries.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ARIES-1095) jndi-url problem when Bundles export services on interfaces they cannot load MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Mark Nuttall created ARIES-1095: ----------------------------------- Summary: jndi-url problem when Bundles export services on interfaces they cannot load Key: ARIES-1095 URL: https://issues.apache.org/jira/browse/ARIES-1095 Project: Aries Issue Type: Bug Components: JNDI Reporter: Mark Nuttall Assignee: Mark Nuttall We've hit a rare problem in org.apache.aries.jndi.services.ServiceHelper.proxyPriviledged() in which a bundle exports a service on an interface that the bundle itself cannot load (due to not importing the relevant package). This causes a CNFE when loading the Class object to proxy. In the case of a CNFE, we can instead pull the Class object off the service reference rather than load it from the bundle providing the service. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira