Uploaded image for project: 'Hibernate Validator'
  1. HV-890

Take visibility into account for method override check

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.1.Final
    • Fix Version/s: 5.2.0.Beta1
    • Component/s: engine
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      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.

        Attachments

          Activity

            People

            • Assignee:
              gunnar.morling Gunnar Morling
              Reporter:
              gunnar.morling Gunnar Morling
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: