bundles that use javasissist to proxy their contents need to import some
javassist packages
-------------------------------------------------------------------------------------------
Key: OWB-473
URL: https://issues.apache.org/jira/browse/OWB-473
Project: OpenWebBeans
Issue Type: Bug
Components: Core
Affects Versions: 1.1.0
Reporter: David Jencks
Assignee: Gurkan Erdogdu
Running in osgi, i'm running into a problem where javassist can't create a
proxy for org.apache.webbeans.jsf.scopes.Jsf2ScopesExtension because
javassist.util.proxy.ProxyObject can't be loaded from the bundle classloader
for webbeans-jsf. Adding the javassist Import-Package seems to fix the problem.
Out of curiousity, when does it ever make sense to replace the default
javassist ProxyFactory.classLoaderProvider? In geronimo the OWB replacement of
using the context classloader worked for the OWB class above but failed
miserably for application classes. With my patch OWB appears to never replace
the default, which now seems to work fine always.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.