[
https://issues.apache.org/jira/browse/OWB-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gurkan Erdogdu updated OWB-486:
-------------------------------
Affects Version/s: 1.0.0
Fix Version/s: 1.0.1
> ResourceBean tries to proxy final classes before testing them for being final
> -----------------------------------------------------------------------------
>
> Key: OWB-486
> URL: https://issues.apache.org/jira/browse/OWB-486
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.0
> Reporter: David Jencks
> Assignee: Gurkan Erdogdu
> Fix For: 1.1.0, 1.0.1
>
> Attachments: OWB-486.patch
>
>
> When you try to proxy an unproxyiable class, OWB installs its own,
> unlikely-to-work javassist ProxyFactory.ClassLoaderProvider. This
> permanently breaks Javassist since there's no way to reinstall the default.
> This is silly, because its much faster to check for finality than to try to
> construct the proxy factory. Checking for known reasons the proxy can't be
> created before trying to build the proxy factory avoids this problem.
> Attached patch also avoids an NPE that I've run into in geronimo.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.