Re: Fwd: Field initialization before 'super'

2023-12-15 Thread Brian Goetz
The 'Field.setAccessible' method, which provides a standard API mechanism for mutating final fields, considers strict finals to be "non-modifiable", and will not enable reflective writes. (It already does the same for record fields.) We discussed this at the EG meeting and I'm still

Fwd: Field initialization before 'super'

2023-12-12 Thread Dan Smith
FYI, proposed strategy for introducing early field initialization as part of the Statements Before Super JEP, with value classes layering on top of this. Begin forwarded message: From: Dan Smith Subject: Field initialization before 'super' Date: December 12, 2023 at 4:27:24 PM PST To: