[weld-issues] [JBoss JIRA] Updated: (WELD-473) required meta-annotations for a qualifier specified differently in spec and API
Pete Muir (JIRA)
jira-events at lists.jboss.org
Wed Apr 28 08:35:12 EDT 2010
[ https://jira.jboss.org/jira/browse/WELD-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir updated WELD-473:
---------------------------
Component/s: CDI API
> required meta-annotations for a qualifier specified differently in spec and API
> -------------------------------------------------------------------------------
>
> Key: WELD-473
> URL: https://jira.jboss.org/jira/browse/WELD-473
> Project: Weld
> Issue Type: Bug
> Components: CDI API
> Affects Versions: 1.0.1.Final
> Environment: n/a
> Reporter: Wolfgang Frech
>
> The specification and the API documentation differ on the required and optional meta-annotations of a qualfiier.
> JSR-299, 2.3.2 Defining new qualfier type specifies
> @Target(METHOD, FIELD, PARAMETER, TYPE} ("is")
> @Retention(RUNTIME) ("is")
> @Qualifier, but only optional ("may")
> API-Doc of Qualifier specifies
> @Qualifier
> @Retention(RUNTIME)
> @Documented (optional, typical)
> @Target optional, but various element types as targets possible
> Both agree on Retention only.
> As a third source I might have a look at the code and the implemented validity check. I have not so far.
> I am a bit fussy about this because a missing @Target of my first custom scope messed up the proxying.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list