Finding the spirit of L-World
Brian Goetz
brian.goetz at oracle.com
Thu Feb 28 18:13:38 UTC 2019
> the example from John,
> Object o = new Object();
> o instanceof RefObject
One way to fix this is: have `new Object` instantiate not an Object, but a RefObject. (This sort of recognizes that Object is half interface, half class.) The weird part is that then “new Object().getClass() != Object.class.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/valhalla-spec-experts/attachments/20190228/54b70878/attachment-0001.html>
More information about the valhalla-spec-experts
mailing list