RefObject and ValObject

Brian Goetz brian.goetz at oracle.com
Mon Apr 15 18:00:52 UTC 2019


> 
> It's not a minor change, and all code that uses a type parameter that have Object as bound will become ambiguous.

I don’t think so.  You can’t say

    new T()

when T is bounded at Object (or anything, for that matter.). 

What ambiguity are you afraid of here?


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


More information about the valhalla-spec-experts mailing list