[
https://issues.jboss.org/browse/CDI-169?page=com.atlassian.jira.plugin.sy...
]
Pete Muir resolved CDI-169.
---------------------------
Assignee: Pete Muir
Resolution: Done
This got fixed as part of CDI-256, when we changed it to disallow *unresolvable* type
variables. We defined that an unresolvable type variable is one which can't be
inferred from the Event injection point.
Remove the 'No type variable in event objects' restriction
----------------------------------------------------------
Key: CDI-169
URL:
https://issues.jboss.org/browse/CDI-169
Project: CDI Specification Issues
Issue Type: Feature Request
Affects Versions: 1.0
Reporter: Stuart Douglas
Assignee: Pete Muir
Fix For: 1.1.PFD
CDI 10.1 states:
An event object is an instance of a concrete Java class with no type variables. ... An
event type may not contain a type variable.
Which seems silly considering the container fires events with a type variable at startup.
I can't think of any reason why this should be prohibited.
--
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