[jbosstools-issues] [JBoss JIRA] (JBIDE-18831) Validator in CDI 1.1 does not validate unused qualifier

Rastislav Wagner (JIRA) issues at jboss.org
Tue Aug 8 11:26:01 EDT 2017


    [ https://issues.jboss.org/browse/JBIDE-18831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445787#comment-13445787 ] 

Rastislav Wagner commented on JBIDE-18831:
------------------------------------------

I just tried this and it actually works. [~lvalach] can you please take a look ? Maybe we can close it

> Validator in CDI 1.1 does not validate unused qualifier
> -------------------------------------------------------
>
>                 Key: JBIDE-18831
>                 URL: https://issues.jboss.org/browse/JBIDE-18831
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi
>    Affects Versions: 4.3.0.Alpha1
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.3.x
>
>
> 1. Create a CDI 1.1 project with bean discovery mode "annotated".
> 2. Create a new qualifier type and make an cdi error in it (e.g. member returning array not annotated @Nonbinding)
> Assert: validion error should appear.
> That fails now.
> 3. Create an annotated bean and add qualifier annotation to it. 
> Call clean build or modify qualifier file. After that validation includes qualifier.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list