vwithfield and ValueType.findWither
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Wed Jun 14 21:20:09 UTC 2017
On 14/06/17 22:15, Maurizio Cimadamore wrote:
> I think ValueType.findWither != vwithfield. I don't think we want to
> many restrictions (other than the one that you can actually access the
> field) - otherwise people will be unable to create the values they
> want (note that DVTs cannot have methods, so they cannot expose
> factories!)
Another possible story is that we always create values through the VCC
constructor, and then unbox. If we think we're happy with that, that
might be a fine choice too.
Maurizio
More information about the valhalla-dev
mailing list