Details
-
Bug
-
Resolution: Unresolved
-
Major
-
2.3.2.Final, 3.0.0.Alpha15
-
None
Description
When using a lambda in an event payload. Parameter types are lost when resolving observers.
For instance:
@Inject Event<Supplier<String>> stringSupplierEvent; ... Supplier<String> stringSupplier = () -> "Hello world"; stringSupplierEvent.fire(stringSupplier);
will triggers an observer for Supplier but not an observer for Supplier<String>
Attachments
Issue Links
- is related to
-
CDI-583 Observer resolution doesn't support Lambdas
- Closed