Re: Revisiting default values

2020-07-13 Thread Dan Smith
> On Jul 13, 2020, at 12:19 PM, Dan Smith wrote: > >> On Jul 10, 2020, at 12:23 PM, Dan Smith wrote: >> >> Option G: JVM support for default instance guards >> >> Inline class files can indicate that their default instance is invalid. All >> attempts to operate on that instance (via field/

Re: Revisiting default values

2020-07-13 Thread Dan Smith
> On Jul 10, 2020, at 12:23 PM, Dan Smith wrote: > > Option G: JVM support for default instance guards > > Inline class files can indicate that their default instance is invalid. All > attempts to operate on that instance (via field/method accesses, other than > 'withfield') result in an excep

Re: Revisiting default values

2020-07-13 Thread Dan Smith
From valhalla-spec-observers: > On Jul 12, 2020, at 10:45 PM, Zheka Kozlov wrote: > > Sorry for a probably stupid question but aren't all classes from Bucket #2 > and #3 ref-default? Which means when we are calling new LocalDate[10], all > elements of the array are initialized to null. And sin