lazy statics design notes

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon Mar 4 10:05:08 UTC 2019


On 03/03/2019 22:28, Remi Forax wrote:
> So IMO both <clinit> and lazy final have sharp edges.

100% agree with that; actually, I'd go even further and say that the 
sharp edges in <clinit> have a nicer resolution in static lazy approach. 
But, my point is that they have *different*, incompatible semantics, so, 
from a migration perspective, adding 'lazy' is problematic.

Maurizio



More information about the valhalla-spec-observers mailing list