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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.7.Final, 2.0.0.Alpha2
    • 1.1.5.Final, 2.0.0.Alpha1
    • None
    • None

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

            marko.luksa@gmail.com Marko Luksa (Inactive)
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: