You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Mark Nuttall (JIRA)" <ji...@apache.org> on 2013/08/13 12:47:48 UTC

[jira] [Created] (ARIES-1095) jndi-url problem when Bundles export services on interfaces they cannot load

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