[
https://issues.jboss.org/browse/JBIDE-9342?page=com.atlassian.jira.plugin...
]
Alexey Kazakov resolved JBIDE-9342.
-----------------------------------
Resolution: Rejected
It seems that Instance<...> means there can be *0* to N matches thus shouldn't
be marked as a validation error at all.
@Inject Instance<BeanType> should be validate
---------------------------------------------
Key: JBIDE-9342
URL:
https://issues.jboss.org/browse/JBIDE-9342
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.3.0.M2
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 3.3.0.M3
Suppose we have the following injection:
{code}
@Inject @Sync Instance<PaymentProcessor> paymentProcessor;
{code}
and if there is no bean with qualifier @Sync and type PaymentProcessor available then CDI
validator should mark such a injection as unsatisfied.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira