-
Bug
-
Resolution: Fixed
-
Minor
-
None
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.
- causes
-
JENKINS-62723 Build fails with "java.lang.IllegalArgumentException: Method perform not found in hudson.plugins.analysis.core.HealthAwareRecorder"
- Resolved
- is duplicated by
-
JENKINS-40250 hudson.Util.isOverridden doesn't work for protected methods
- Resolved