Description
If using a CDI-event with interface:
public class MyEvent implements MyEventInterface
the fired Event:
@Inject private Event<MyEventInterface> event; public void fireEvent() { final MyEventInterface myEvent = new MyEvent(); event.fire(myEvent); }
is NOT delivered to the event target:
public void observeEvent(@Observes final MyEvent event) { System.out.println("observed an event: " + event); eventCount++; }
The very same code is running fine with OWB 1.1.X but not in 1.2.X.
Please see attached zip-file for more details.
Run:
mvn clean test => everything fine (OWB 1.1.8)
mvn clean test -Powb12x => FAIL (OWB 1.2.7)