[
https://issues.jboss.org/browse/CDI-495?page=com.atlassian.jira.plugin.sy...
]
Martin Kouba updated CDI-495:
-----------------------------
Description: The spec clearly defines what the legal bean types are (2.2.1. Legal bean
types). and also that an illegal injection point type results in definition error (5.2.3.
Legal injection point types). However, it's not clear what should happen if an illegal
bean type is found in the set of bean types and *is not used* in an injection point. I
think that it would be reasonable to just ignore the type (and possibly log some warning).
(was: The spec clearly defines what the legal bean types are (2.2.1. Legal bean types).
and also that an illegal injection point type results in definition error (5.2.3. Legal
injection point types). However, it's not clear what should happen if an illegal bean
type is found in the set of bean types and is not used in an injection point. I think that
it would be reasonable to just ignore the type (and possibly log some warning).)
What happens if an illegal bean type is found in the set of bean
types
----------------------------------------------------------------------
Key: CDI-495
URL:
https://issues.jboss.org/browse/CDI-495
Project: CDI Specification Issues
Issue Type: Clarification
Affects Versions: 1.2.Final
Reporter: Martin Kouba
The spec clearly defines what the legal bean types are (2.2.1. Legal bean types). and
also that an illegal injection point type results in definition error (5.2.3. Legal
injection point types). However, it's not clear what should happen if an illegal bean
type is found in the set of bean types and *is not used* in an injection point. I think
that it would be reasonable to just ignore the type (and possibly log some warning).
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)