]
Jozef Hartinger updated WELD-1097:
----------------------------------
Fix Version/s: 2.0.0.Alpha2
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
Fix For: 1.1.7.Final, 2.0.0.Alpha2
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: