JVMS changes for JEP 401

John Rose john.r.rose at oracle.com
Tue Feb 6 16:00:01 UTC 2024


On 29 Jan 2024, at 10:24, Dan Smith wrote:

> On Jan 29, 2024, at 10:22 AM, daniel.smith at oracle.com wrote:
>
> we'll add a rule that final fields must be definitely assigned before a 'this()' call

…Or that, I suppose.  Seems like busy-work to me, though.  We never had such restrictions before, on putfields.  Since a single init-method can issue duplicate putfields (in the VM), there does not seem to be any harm in having a this-calling init method issuing additional duplicate pufields.

Really, I’m OK with a rule here, but would prefer not to issue a rule.


More information about the valhalla-spec-experts mailing list