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

Gurkan Erdogdu closed OWB-486.
------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0

> 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
>             Fix For: 1.1.0
>
>         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