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