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.

Reply via email to