[
https://issues.jboss.org/browse/JBIDE-12575?page=com.atlassian.jira.plugi...
]
Jaroslav Jankovič updated JBIDE-12575:
--------------------------------------
Steps to Reproduce:
EXEC: create dynamic web project without CDI support
EXEC: create bean:
{code}
import javax.enterprise.inject.Produces;
import javax.inject.Inject;
public class Test {
@Inject String injectionPoint;
@Produces
public String value1() {
return null;
}
@Produces
public String value2() {
return null;
}
}
{code}
EXEC: enable CDI support into project
ASSERT: injection point is validated by CDI validator (multiple beans eligible for
injection)
FAIL: there is no validation marker on injection point
Problem with CDI validator
--------------------------
Key: JBIDE-12575
URL:
https://issues.jboss.org/browse/JBIDE-12575
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: CDI
Affects Versions: 4.0.0.Alpha1
Reporter: Jaroslav Jankovič
Assignee: Jaroslav Jankovič
Fix For: 4.0.0.Alpha1
There is a problem to force CDI validator to work. In my case, I created simple dynamic
web project without CDI support, added some bean with Multiple beans eligible case
(message not present yet). Add CDI support into project. Expected validation messages
won't appear - cleaning the project doesn't help either.
--
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