Marko Lukša edited a comment on Bug WELD-1189

Well, actually, the observer methods that get called as a result of event.fire() are determined by the type argument of the injected Event bean. Chapter 10 of the CDI spec is really inconsistent and will be rewritten in CDI1.1 (see CDI-256).

IMO, the runtime type of the event payload should be ignored when firing events through Event.fire(), and so in your case, the exception shouldn't be thrown at all. Neither should the exception be thrown earlier, since you injected Event<List<String>>, which does not contain any type variables and is therefore a valid event type.

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