[weld-issues] [JBoss JIRA] (WELD-978) Cannot fire event with parameterized type as a payload

Jozef Hartinger (Resolved) (JIRA) jira-events at lists.jboss.org
Thu Nov 3 10:36:46 EDT 2011

     [ https://issues.jboss.org/browse/WELD-978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jozef Hartinger resolved WELD-978.

    Resolution: Won't Fix

Events with parameterized types, where the actual type parameter is available at runtime, are supported:

Foo extends Bar<Baz>

Event types where the type parameter is not available at runtime (new Bar<Baz>()) are not supported. Adding support for this would conflict with the CDI specification. This is planned to be fixed in CDI 1.1
> Cannot fire event with parameterized type as a payload
> ------------------------------------------------------
>                 Key: WELD-978
>                 URL: https://issues.jboss.org/browse/WELD-978
>             Project: Weld
>          Issue Type: Bug
>    Affects Versions: 1.1.2.Final
>            Reporter: Martin Kouba
>            Assignee: Jozef Hartinger
> It should be possible to fire event with parameterized type as a payload.
> See CDI 1.0 spec chapter *10.1. Event types and qualifier types*.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the weld-issues mailing list