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

Mark Struberg commented on DELTASPIKE-405:
------------------------------------------

{quote}
assignable to the upper bound, if any, of the type variable
{quote}

I'm a bit confused now to be honest.

In List<? extends T>, T is the upper bound. Imo the 'upper bound' is the most 
common denominator of the possible types. If there is no 'extends X' then 
Object.class is the upper bound, right? 

http://docs.oracle.com/javase/tutorial/java/generics/upperBounded.html

In pseudo-code the meaning of the quoted paragraph is imo

{code}
required_actual_type.assignableFrom(bean_type_upper_bound)
{code}


In any case the important fact for me is that the _intention_ of both Weld and 
OWB is the same and we like to allow this specific use case.
                
> producer for JsfMessage<T> does not match CDI-1.1 rules 
> --------------------------------------------------------
>
>                 Key: DELTASPIKE-405
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-405
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: JSF-Module
>    Affects Versions: 0.4
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 0.5
>
>
> Some containers don't find the JsfMessageProducer as it is of a generic type 
> <T>.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to