Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-8408

IgniteUtils.invoke does not look list superclass methods

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5
    • None
    • None

    Description

                  for (Class<?> c = cls != null ? cls : obj.getClass(); cls != Object.class; cls = cls.getSuperclass()) {
                      Method mtd = null;
      
                      for (Method declaredMtd : c.getDeclaredMethods()) {
      ...
      

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

      Attachments

        Activity

          People

            agoncharuk Alexey Goncharuk
            agoncharuk Alexey Goncharuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: