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

Xavier Dury updated OWB-945:
----------------------------

    Attachment: testcase2.patch

I think there is still a problem. I added one additional method that should be 
decorated and it is not working. My previous testcase failed if you were 
decorating a method from the superinterface, now it works but if that method 
makes use of a class-level parameterized type, then it doesn't work.

> 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
>             Fix For: 2.0.0
>
>         Attachments: testcase.patch, testcase.zip, testcase2.patch
>
>
> 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)

Reply via email to