RFR: 8258535: jvm.ClassReader should set the accessor to the corresponding record component
Joel Borggrén-Franck
jfranck at openjdk.java.net
Mon May 24 12:25:23 UTC 2021
On Sat, 22 May 2021 05:40:46 GMT, Vicente Romero <vromero at openjdk.org> wrote:
> Please review this fix which addresses a bug in the records implementation. The issue is that when a record is read by jvm.ClassReader, the record components are not linked to its corresponding accessor. If users try to look for the accessor using javax.lang.model API, using an annotation processor for example, then they will find that the accessor is null.
>
> TIA for the review
Lgtm
-------------
Marked as reviewed by jfranck (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/4152
More information about the compiler-dev
mailing list