You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gurkan Erdogdu (JIRA)" <ji...@apache.org> on 2010/11/01 07:43:24 UTC
[jira] Closed: (OWB-473) bundles that use javasissist to proxy
their contents need to import some javassist packages
[ https://issues.apache.org/jira/browse/OWB-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gurkan Erdogdu closed OWB-473.
------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0
> 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
> Fix For: 1.1.0
>
> Attachments: OWB-473.patch
>
>
> 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.