Martin Kouba created WELD-1097:
----------------------------------
Summary: 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: 2.0.0.Alpha1, 1.1.5.Final
Reporter: Martin Kouba
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