Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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.