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 (JIRA)" <ji...@apache.org> on 2011/03/07 16:49:59 UTC

[jira] Resolved: (OWB-491) Decorators init needs to scan superclasses for more interfaces. cf CDITCK-178

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

Mark Struberg resolved OWB-491.
-------------------------------

    Resolution: Fixed

> Decorators init needs to scan superclasses for more interfaces.  cf CDITCK-178
> ------------------------------------------------------------------------------
>
>                 Key: OWB-491
>                 URL: https://issues.apache.org/jira/browse/OWB-491
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>            Reporter: David Jencks
>            Assignee: Gurkan Erdogdu
>             Fix For: 1.1.0
>
>
> The javadoc for class.getInterfaces() seems to be misleading.  Apparently it only returns the interfaces declared implemented in the current class, not those from superclasses.  So we need to scan superclass for more interfaces.
> This seems to have tripped up the tck as well, see CDITCK-178 where a change that reveals this problem in owb was recently made.  However there's an additional problem in the DecoratorDefinitionTest in that the delegate doesn't implement this 4th interface Boo.  I've added a comment to that issue but there will be a failing tck test until they fix it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira