You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2010/11/15 01:44:13 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=12931945#action_12931945 ] 

David Jencks commented on OWB-491:
----------------------------------

Fixed in rev 1035109.  Maybe we should leave this open at least until CDITCK-178 is more fully resolved.

> 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.
-
You can reply to this email to add a comment to the issue online.