[ 
https://issues.apache.org/jira/browse/OWB-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14157795#comment-14157795
 ] 

Romain Manni-Bucau commented on OWB-1018:
-----------------------------------------

Is it still the case? Think it has been fixed yesterday

BTW I added 
http://svn.apache.org/repos/asf/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/producer/GenericProducerTest.java

> Resolution regression for producer method with parameterized return type with 
> a type variable
> ---------------------------------------------------------------------------------------------
>
>                 Key: OWB-1018
>                 URL: https://issues.apache.org/jira/browse/OWB-1018
>             Project: OpenWebBeans
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Antonin Stefanutti
>            Priority: Blocker
>
> Given the following producer method:
> {code}
> @Produces
> <T> Gauge<T> gaugeProducer() {};
> {code}
> And the following injection point:
> {code}
> @Inject
> Gauge<Long> gauge;
> {code}
> An {{UnsatisfiedResolutionException}} is thrown.
> This is a regression and contradicts with the CDI specification:
> {quote}
> 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
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to