[ 
https://issues.apache.org/jira/browse/OWB-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Jencks updated OWB-486:
-----------------------------

    Attachment: OWB-486.patch

Patch does not attempt to address thread safety issue raised on the dev list.

> 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
>            Reporter: David Jencks
>            Assignee: Gurkan Erdogdu
>         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.

Reply via email to