Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      Util.isOverridden works only on public methods.

      It needs to be improved in order to inspect non-public too through the inheritance. For example is this case:

      public abstract class Base {
          protected abstract void method();
      }
      public abstract class Intermediate extends Base {
          protected void method() {}
      }
      public class Derived extends Intermediate {}
      

      A call to isOverridden(Base.class, Derived.class, "method") should return true.

        Attachments

          Issue Links

            Activity

            amuniz Antonio Muñiz created issue -
            amuniz Antonio Muñiz made changes -
            Field Original Value New Value
            Assignee Antonio Muñiz [ amuniz ]
            amuniz Antonio Muñiz made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev made changes -
            Issue Type Task [ 3 ] Bug [ 1 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 165082 ] JNJira + In-Review [ 197614 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-40250 [ JENKINS-40250 ]

              People

              • Assignee:
                amuniz Antonio Muñiz
                Reporter:
                amuniz Antonio Muñiz
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: