RFR:JDK-8198749 Translation of value constructors in classic constructor notation

Brian Goetz brian.goetz at oracle.com
Thu Jul 12 01:08:08 UTC 2018


> I think we will end up with some user-level syntax for referring to a VT's
> default value by name.  Something like `` VT.default ``.  It would compile
> directly to a defaultvalue instruction.  Perhaps via a tree that strongly
> resembles a global constant reference in VT.  Hmm, nice how all that
> hangs together…

T.default is what we used in Model 3.  






More information about the valhalla-dev mailing list