RefObject and ValObject

Brian Goetz brian.goetz at oracle.com
Mon Apr 15 20:46:08 UTC 2019


> 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.  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/valhalla-spec-experts/attachments/20190415/72e253b0/attachment.html>


More information about the valhalla-spec-experts mailing list