Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-1595

ReflectionUtils doesn't take into account "bridge" methods when checking if method is annotated

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.0
    • Component/s: None
    • Labels:
      None

      Description

      When extending from parameterized class some times compiler feels there is a need to generate a synthetic “bridge” method modeled after the one in super class. The issue is that annotations (if any) are not propagated to the synthetic method and not visible when reflecting on such method, essentially creating a condition where a standard lifecycle method (e.g., OnStopped) is not executed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ozhurakousky Oleg Zhurakousky
                Reporter:
                ozhurakousky Oleg Zhurakousky
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: