]
Marko Lukša updated WELD-1097:
------------------------------
Git Pull Request:
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: