RefObject and ValObject

forax at forax at
Mon Apr 15 21:10:03 UTC 2019

> De: "Brian Goetz" <brian.goetz at>
> À: "Remi Forax" <forax at>
> Cc: "Maurizio Cimadamore" <maurizio.cimadamore at>,
> "valhalla-spec-experts" <valhalla-spec-experts at>
> Envoyé: Lundi 15 Avril 2019 22:46:08
> Objet: Re: RefObject and ValObject

>> yes !
>> all generics will suddenly accept value types.

> Yes, this is by design. If you can’t have an ArrayList of Point, that would be
> terrible. Of course, until we have specialization (later in the story), these
> will be erased, and restricted to the nullable projection.

Does it means that Point? is a subtype of RefObject ? 

Note: the second question mark in this sentence is because it's a question. 


More information about the valhalla-spec-observers mailing list