You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (Assigned) (JIRA)" <ji...@apache.org> on 2012/03/30 09:36:42 UTC

[jira] [Assigned] (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 ]

Mark Struberg reassigned OWB-654:
---------------------------------

    Assignee: Gerhard Petracek  (was: Mark Struberg)
    
> 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.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