Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
Given the following producer method:
@Produces <T> Gauge<T> gaugeProducer() {};
And the following injection point:
@Inject
Gauge<Long> gauge;
An UnsatisfiedResolutionException is thrown.
This is a regression and contradicts with the CDI specification:
the required type parameter is an actual type, the bean type parameter is a type variable and the actual type is assignable to the upper bound, if any, of the type variable