You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Goncharuk (JIRA)" <ji...@apache.org> on 2018/04/27 09:56:00 UTC

[jira] [Updated] (IGNITE-8408) IgniteUtils.invoke does not look list superclass methods

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

Alexey Goncharuk updated IGNITE-8408:
-------------------------------------
    Description: 
{code}
            for (Class<?> c = cls != null ? cls : obj.getClass(); cls != Object.class; cls = cls.getSuperclass()) {
                Method mtd = null;

                for (Method declaredMtd : c.getDeclaredMethods()) {
...
{code}

The loop traverses class hierarchy, but always checks the original class methods.

> IgniteUtils.invoke does not look list superclass methods
> --------------------------------------------------------
>
>                 Key: IGNITE-8408
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8408
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Alexey Goncharuk
>            Assignee: Alexey Goncharuk
>            Priority: Major
>
> {code}
>             for (Class<?> c = cls != null ? cls : obj.getClass(); cls != Object.class; cls = cls.getSuperclass()) {
>                 Method mtd = null;
>                 for (Method declaredMtd : c.getDeclaredMethods()) {
> ...
> {code}
> The loop traverses class hierarchy, but always checks the original class methods.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)