GitHub user aldettinger opened a pull request:

    https://github.com/apache/camel/pull/1703

    CAMEL-11235: Proposal to fix an issue where a method inherited from a 
superclass overrides a superinterface method

    This PR proposes a fix for 
[CAMEL-11235](https://issues.apache.org/jira/browse/CAMEL-11235).
    
    Basically, the `BeanInfo` introspection mechanism traverses the single 
rooted class hierarchy collecting overrides first, and then proceed with 
interfaces.
    I've also created a new overload of `ObjectHelper.isOverridingMethod(...)` 
to deal with the case where a method inherited from a class [overrides a 
superinterface 
method](https://docs.oracle.com/javase/specs/jls/se8/html/jls-8.html#jls-8.4.8.1).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aldettinger/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1703.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1703
    
----
commit 0ddb6a7baf2e092304ec7644b655371bdac28cd5
Author: aldettinger <aldettin...@gmail.com>
Date:   2017-05-20T10:18:57Z

    CAMEL-11235: Resolved an issue where a method inherited from a superclass 
overrides a superinterface method

commit 3ec1b9e7e302031212794138ea7d977d90e40594
Author: aldettinger <aldettin...@gmail.com>
Date:   2017-05-20T11:13:15Z

    CAMEL-11235: Used the new override from getMethodInfo(...)

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to