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

Gerhard Petracek commented on OWB-654:
--------------------------------------

please have a look at the test and compare it with: mvn clean install -PWeld

> manual lookups of beans with generics fail
> ------------------------------------------
>
>                 Key: OWB-654
>                 URL: https://issues.apache.org/jira/browse/OWB-654
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Injection and Lookup
>    Affects Versions: 1.1.3
>            Reporter: Gerhard Petracek
>            Assignee: Mark Struberg
>             Fix For: 1.6.0
>
>         Attachments: OWB-654_test.zip
>
>
> the type-check it too strict right now.
> e.g. for:
> public interface CustomBean<T>
> {
>   //...
> }
> public class CustomBeanImpl implements CustomBean<String>
> {
>   //...
> }
> the >manual< lookup by type with CustomBean.class fails, but it works 
> correctly e.g. in case of:
> public class CustomBeanImpl implements CustomBean
> {
>   //...
> }



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

Reply via email to