[jbosstools-issues] [JBoss JIRA] (JBIDE-18751) Incorrect Qualifier Target validation

Rastislav Wagner (JIRA) issues at jboss.org
Wed Nov 26 06:28:39 EST 2014


     [ https://issues.jboss.org/browse/JBIDE-18751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rastislav Wagner closed JBIDE-18751.
------------------------------------


verified in JBDS 8.0.0.CR1-v20141124-0632-B334

> Incorrect Qualifier Target validation
> -------------------------------------
>
>                 Key: JBIDE-18751
>                 URL: https://issues.jboss.org/browse/JBIDE-18751
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi
>    Affects Versions: 4.1.2.Final
>         Environment: Eclipse Kepler, JBoss Tools 4.1 for Kepler (Context and Dependency Injection Tools 1.5.1.Final-v20140303-0347-B156).
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.2.1.CR1
>
>
> The warning states:
> {code}
> Qualifier annotation type must be annotated with @Target({TYPE, METHOD, FIELD, PARAMETER}) or @Target({FIELD, PARAMETER}) [JSR-299 §2.3.2, §10.1]
> {code}
> Both referenced specification articles say "typically defined as", not "must be one of". Weld 2.2.5.Final doesn't have any issues with the Targets, that are deemed incorrect by CDI Tools.
> It's invalid to put any restriction on a Target at all.



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)



More information about the jbosstools-issues mailing list