Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5544

AnnotationUtils#hasAnnotationOn should not choke on TypeParameter when looking for annotations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.1
    • Component/s: i18n
    • Labels:
    • Environment:
      Java 8
    • Magnolia Release:
      5.2.1

      Description

      Java 8 supports annotations on TypeParameter - so when trying to lookup all annotations on an object, AnnotationUtils chokes on this (because it was originally written to strictly only process Class and Method annotations)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gjoseph Magnolia International
              Reporter:
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: