RFR: 8336927: Missing equals and hashCode in java.lang.classfile.Annotation [v2]
Chen Liang
liach at openjdk.org
Tue Jul 23 15:43:42 UTC 2024
> 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
-------------
Changes: https://git.openjdk.org/jdk/pull/20291/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20291&range=01
Stats: 42 lines in 2 files changed: 23 ins; 14 del; 5 mod
Patch: https://git.openjdk.org/jdk/pull/20291.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20291/head:pull/20291
PR: https://git.openjdk.org/jdk/pull/20291
More information about the core-libs-dev
mailing list