Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1097

Event of array type fired via built-in Event bean is not observed

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.1.5.Final, 2.0.0.Alpha1
    • Fix Version/s: 1.1.7.Final, 2.0.0.Alpha2
    • Component/s: None
    • Labels:
      None

      Description

      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

      @Inject
      Event<Foo[]> fooEvent;
      

      the result of the call to getActualTypeArguments()[0] is GenericArrayType with component type Foo (not sure why... I'd expect it to be Class).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  luksa Marko Lukša
                  Reporter:
                  mkouba Martin Kouba
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: