[weld-issues] [JBoss JIRA] Commented: (WELD-771) Interception of beans with final methods causes final methods to be invoked on the proxy

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Sun Dec 12 01:09:52 EST 2010


    [ https://issues.jboss.org/browse/WELD-771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569463#comment-12569463 ] 

Marius Bogoevici commented on WELD-771:
---------------------------------------

Added a test for this, the issue is seemingly resolved by subclassing.

See test here:

https://github.com/mbogoevici/core/commit/884529b8e975b2736c0b9e762561af352de65040

> Interception of beans with final methods causes final methods to be invoked on the proxy
> ----------------------------------------------------------------------------------------
>
>                 Key: WELD-771
>                 URL: https://issues.jboss.org/browse/WELD-771
>             Project: Weld
>          Issue Type: Bug
>          Components: Interceptors and Decorators, Proxies
>    Affects Versions: 1.1.0.Beta2
>            Reporter: Stuart Douglas
>            Assignee: Marius Bogoevici
>             Fix For: 1.1.0.CR1
>
>
> We currently allow method level interceptors on beans that also have private methods, which causes the final methods to be invoked on the proxy. There are two options here:
> - Fix WELD-437 (implement interception through subclassing)
> - Pick this up in the verification phase and either log a warning or throw an exception
>  

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list