AnnotationSupport uses == rather than .equals to compare Class objects

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • tbd
    • Affects Version/s: 8
    • Component/s: core-libs

      The sun.reflect.annotation.AnnotationSupport helper class in some cases use == rather than .equals to compare Class objects.

      This is not technically correct since java.lang.Class does not guarantee that its equals method uses identity.

            Assignee:
            Andreas Lundblad (Inactive)
            Reporter:
            Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: