You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2013/04/18 03:59:16 UTC

[jira] [Issue Comment Deleted] (OWB-828) OwbInterceptProxy wrapping an OwbInterceptProxy

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

Gerhard Petracek updated OWB-828:
---------------------------------

    Comment: was deleted

(was: OWB-828_2.patch passes all tests (including the test of OWB-828.patch))
    
> 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: Gerhard Petracek
>            Priority: Critical
>         Attachments: OWB-828_2.patch, 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