On Tue, 23 Jul 2024 04:44:57 GMT, Chen Liang <li...@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.

This pull request has now been integrated.

Changeset: 332df83e
Author:    Chen Liang <li...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/332df83e7cb1f272c08f8e4955d6abaf3f091ace
Stats:     42 lines in 2 files changed: 23 ins; 14 del; 5 mod

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

Reviewed-by: asotona

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

PR: https://git.openjdk.org/jdk/pull/20291

Reply via email to