You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gerhard Petracek (Updated) (JIRA)" <ji...@apache.org> on 2012/04/03 21:42:25 UTC

[jira] [Updated] (OWB-654) manual lookups of beans with generics fail

     [ https://issues.apache.org/jira/browse/OWB-654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek updated OWB-654:
---------------------------------

    Fix Version/s:     (was: 1.1.4)
                   1.2.0
    
> 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: Gerhard Petracek
>             Fix For: 1.2.0
>
>
> 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