You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Christian Beikov (JIRA)" <ji...@apache.org> on 2014/09/03 17:42:51 UTC

[jira] [Updated] (OWB-999) Bean#beanClass is wrongly used as base type for normal scope proxies

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

Christian Beikov updated OWB-999:
---------------------------------
    Attachment: owb-bug.zip

Testcase that reproduces the bug.

> Bean#beanClass is wrongly used as base type for normal scope proxies
> --------------------------------------------------------------------
>
>                 Key: OWB-999
>                 URL: https://issues.apache.org/jira/browse/OWB-999
>             Project: OpenWebBeans
>          Issue Type: Bug
>    Affects Versions: 1.2.6
>            Reporter: Christian Beikov
>            Priority: Critical
>         Attachments: owb-bug.zip
>
>
> When defining a custom bean with a normal scope, OWB creates a proxy for that bean based on the beanClass of the bean. This is wrong since the beanClass could be the declaring class of a bean as it is with producers.
> Also the javadoc explicitly states that.



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