Take visibility into account for method override check

Description

In ExecutableHelper#overrides() we should take visibility of involved methods into account. A sub-type method only overrides a super-type method in case the former can "see" the latter which isn't the case if the latter is private.

Environment

None

Status

Assignee

Gunnar Morling

Reporter

Gunnar Morling

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

5.1.1.Final

Priority

Major