[weld-issues] [JBoss JIRA] (WELD-1097) Event of array type fired via built-in Event bean is not observed

Marko Lukša (JIRA) jira-events at lists.jboss.org
Wed Mar 28 09:42:47 EDT 2012


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

Marko Lukša updated WELD-1097:
------------------------------

    Git Pull Request: https://github.com/weld/core/pull/188
     Forum Reference: https://community.jboss.org/message/726334#726334  (was: https://community.jboss.org/message/726334#726334)

    
> Event of array type fired via built-in Event bean is not observed
> -----------------------------------------------------------------
>
>                 Key: WELD-1097
>                 URL: https://issues.jboss.org/browse/WELD-1097
>             Project: Weld
>          Issue Type: Bug
>    Affects Versions: 1.1.5.Final, 2.0.0.Alpha1
>            Reporter: Martin Kouba
>            Assignee: Marko Lukša
>
> See also https://github.com/weld/core/pull/187
> When firing event via built-in Event bean Weld gets the event type information through reflection and the problem seems to be in {{org.jboss.weld.bean.builtin.AbstractFacade.getFacadeType()}} method.
> For example for this injection point
> {code}
> @Inject
> Event<Foo[]> fooEvent;
> {code}
> the result of the call to getActualTypeArguments()[0] is GenericArrayType with component type Foo (not sure why... I'd expect it to be Class).

--
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