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 (JIRA)" <ji...@apache.org> on 2015/05/28 20:57:18 UTC

[jira] [Reopened] (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 reopened OWB-654:
----------------------------------
      Assignee: Mark Struberg  (was: Gerhard Petracek)

> 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
>
>
> 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)