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.1.4


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to