On Tue, 16 Jun 2026 14:01:08 GMT, ExE Boss <[email protected]> wrote:

>> Core reflection is implemented on method handles so you won't see the 
>> changes in Field.java. For fields in value classes, the "field accessor" 
>> will be generated as read-only so the setter methods always throws.
>
> This is being fixed in:
> - https://github.com/openjdk/valhalla/pull/2548

That issue is for strictly-initialized final fields. There isn't an issue with 
fields declared in value classes as they are "trusted final" so already handled.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31123#discussion_r3426722850

Reply via email to