RFR: 8336927: Missing equals and hashCode in java.lang.classfile.Annotation
Adam Sotona
asotona at openjdk.org
Tue Jul 23 07:04:33 UTC 2024
On Tue, 23 Jul 2024 04:44:57 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.
Looks good to me, thanks for the fix.
-------------
Marked as reviewed by asotona (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/20291#pullrequestreview-2193137329
More information about the core-libs-dev
mailing list