Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1095

jndi-url problem when Bundles export services on interfaces they cannot load

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • jndi-url-1.1.0
    • JNDI
    • None

    Description

      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.

      Attachments

        Activity

          People

            mnuttall Mark Nuttall
            mnuttall Mark Nuttall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: