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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.7.Final, 2.0.0.Alpha2
    • 1.1.5.Final, 2.0.0.Alpha1
    • None
    • 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).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: