> De: "Brian Goetz" <brian.go...@oracle.com> > À: "Remi Forax" <fo...@univ-mlv.fr> > Cc: "Maurizio Cimadamore" <maurizio.cimadam...@oracle.com>, > "valhalla-spec-experts" <valhalla-spec-experts@openjdk.java.net> > 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. Rémi