You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2013/04/10 22:57:17 UTC

[jira] [Resolved] (OWB-569) OpenWebBeans uses the Java Reflection API to discover program element types and annotations in addition to the AnnotatedType

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

Mark Struberg resolved OWB-569.
-------------------------------

    Resolution: Fixed

we now use only the AnnotatedType based resolution in owb-1.2.0
                
> OpenWebBeans uses the Java Reflection API to discover program element types and annotations in addition to the AnnotatedType
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OWB-569
>                 URL: https://issues.apache.org/jira/browse/OWB-569
>             Project: OpenWebBeans
>          Issue Type: Bug
>            Reporter: Arne Limburg
>            Assignee: Mark Struberg
>             Fix For: 1.2.0
>
>         Attachments: OWB-569.patch
>
>
> OpenWebBeans uses the Java Reflection API to discover program element types and annotations in addition to the AnnotatedType, but the spec says it must use the AnnotatedType INSTEAD of directly calling the Java Reflection API.
> This must be fixed in WebBeansAnnotatedTypeUtil in defineInjectedMethods and defineInjectedFields, where DefinitionUtil.defineInternalInjectedMethodsRecursively and DefinitionUtil.defineInternalInjectedFieldsRecursively is called.
> Instead of this, the AnnotatedTypeImpl must contain methods and fields of superclasses.

--
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