You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Antoine Sabot-Durand (JIRA)" <ji...@apache.org> on 2015/01/26 17:12:34 UTC

[jira] [Comment Edited] (OWB-1033) ProcessBeanAttributes doesn't return the right Annotated

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

Antoine Sabot-Durand edited comment on OWB-1033 at 1/26/15 4:12 PM:
--------------------------------------------------------------------

ok will try with last head tonight. thanks.

FYI test that failed is this repo
https://github.com/antoinesd/CDI-Sandbox/tree/CDI-1.2
it's the {{ConvertTest}} in converter module. You can launch it with {{mvn test -Powb-1.5}}


was (Author: antoine):
ok will try with last head tonight. thanks

> ProcessBeanAttributes doesn't return the right Annotated
> --------------------------------------------------------
>
>                 Key: OWB-1033
>                 URL: https://issues.apache.org/jira/browse/OWB-1033
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.5.0
>            Reporter: Antoine Sabot-Durand
>            Assignee: Reinhard Sandtner
>             Fix For: 1.5.0
>
>
> (Bug observed on snapshot 1.5.0-20150109.083011-43 in the Apache Snapshot repo).
> When observing {{ProcessBeanAttributes}} for a producer method {{ProcessBeanAttributes#getAnnotated()}} returns the {{AnnotatedType}} of the bean containing the producer method not the {{AnnotatedMember}} corresponding to the producer.
> CDI 1.1+ spec states in the [ProcessBeanAttributes|http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#process_bean_attributes] section :
> {quote}
> getAnnotated() returns the AnnotatedType representing the managed bean class or session bean class, the AnnotatedMethod representing the producer field, or the AnnotatedField representing the producer field.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)