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

IgniteUtils.invoke does not look list superclass methods

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: