RFR: 8336927: Missing equals and hashCode in java.lang.classfile.Annotation [v2]

Adam Sotona asotona at openjdk.org
Wed Jul 24 06:52:31 UTC 2024


On Tue, 23 Jul 2024 15:43:42 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Convert `AnnotationImpl` to a record so it comes with proper `equals` and `hashCode` implementations. This also fixes the comparison for annotation-valued annotation element values.
>
> Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:
> 
>  - Merge branch 'master' of https://github.com/openjdk/jdk into fix/anno-hash-equals
>  - 8336927: Missing equals and hashCode in java.lang.classfile.Annotation

Marked as reviewed by asotona (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/20291#pullrequestreview-2195787862


More information about the core-libs-dev mailing list