You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Arne Limburg (JIRA)" <ji...@apache.org> on 2014/04/08 12:20:15 UTC

[jira] [Commented] (OWB-945) Decorators are not applied on methods which use parameterized type from super interface

    [ https://issues.apache.org/jira/browse/OWB-945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13962759#comment-13962759 ] 

Arne Limburg commented on OWB-945:
----------------------------------

BTW: It would be cool, if you could refactor your test such that it matches our (OWB) test setup. Then I would directly include your test case in our code base.

> Decorators are not applied on methods which use parameterized type from super interface
> ---------------------------------------------------------------------------------------
>
>                 Key: OWB-945
>                 URL: https://issues.apache.org/jira/browse/OWB-945
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Interceptor and Decorators
>    Affects Versions: 1.2.1
>            Reporter: Xavier Dury
>            Assignee: Arne Limburg
>         Attachments: testcase.zip
>
>
> If I have
> - an interface A<T>
> - an interface B which extends A<X>
> - a class C which implements B
> - a decorator D for type B
> then decorator D will not be applied on C for methods inherited from A which use the parameterized type T.
> workaround: override methods in interface B



--
This message was sent by Atlassian JIRA
(v6.2#6252)