Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8336927

Missing equals and hashCode in java.lang.classfile.Annotation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 24
    • 24
    • core-libs
    • None

    Description

      `java.lang.classfile.Annotation`'s implementation is missing `equals` or `hashCode`, and it's used by `AnnotationValue.OfAnnotation` that depends on these properties. Thus it's most likely an oversight and should be fixed.

      Attachments

        Issue Links

          Activity

            People

              liach Chen Liang
              liach Chen Liang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: