Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
2.2.4.Final
-
None
Description
From the CDI 1.2 specification:
A parameterized event type is considered assignable to a raw observed event type if the raw types are identical.
However when declaring the following observer method:
void processInjectionTarget(@Observes ProcessInjectionTarget pit) { }
No event are delivered.
In addition, the specification states that:
the observed event type parameter is an actual type with identical raw type to the event type parameter, and, if the type is parameterized, the event type parameter is assignable to the observed event type parameter
However, when declaring the following observer method:
void processInjectionTarget(@Observes ProcessInjectionTarget<Object> pit) {
}
No event are delivered.