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

Arne Limburg updated OWB-828:
-----------------------------

    Attachment: OWB-828.patch

This is a problem of our proxies with handling of generic return types and java 
bridge methods that are errornously detected as overridden.
The patch fixes this specific problem, but introduces another problem in proxy 
creation
                
> OwbInterceptProxy wrapping an OwbInterceptProxy
> -----------------------------------------------
>
>                 Key: OWB-828
>                 URL: https://issues.apache.org/jira/browse/OWB-828
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Interceptor and Decorators
>    Affects Versions: 1.2.0
>            Reporter: Gerhard Petracek
>            Assignee: Mark Struberg
>            Priority: Critical
>         Attachments: OWB-828.patch
>
>
> it looks like a concurrency issue with interceptor-proxies since it doesn't 
> happen in all cases.
> normal ( /working):
> LifecycleInterceptorInvocationContext#proceed L95
> //reflection calls
> MyReqScopedBean#postConstruct
> MyAppScopedBean$OwbNormalScopeProxy0#myMethod
> MyAppScopedBean$OwbInterceptProxy0#myMethod
> MyAppScopedBean#myMethod
> [injection points ok]
> not working:
> LifecycleInterceptorInvocationContext#proceed L95
> //reflection calls
> MyReqScopedBean#postConstruct
> MyAppScopedBean$OwbNormalScopeProxy0#myMethod
> MyAppScopedBean$OwbInterceptProxy0#myMethod
> MyAppScopedBean$OwbInterceptProxy0#myMethod
> [injection points are null]
> there is only one instance of $$OwbInterceptProxy0 for the bean in question, 
> but the final method call gets executed by the proxy itself instead of its 
> proxied instance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to