Finding the spirit of L-World
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...
More information about the valhalla-spec-experts