Question on layer/peeling

John Rose john.r.rose at oracle.com
Tue Jan 6 22:09:50 UTC 2015


On Jan 6, 2015, at 1:00 PM, Timo Kinnunen <timo.kinnunen at gmail.com> wrote:
> 
> Before assigning semantics to x == null, let’s not forget boxing. What will happen if x is a boxed value which was returned from a call to the non-specialized Map.get(Object key) method?

?  Then the comparison will be false.  In any case the type of x there is Object, isn't it, so there's nothing new here?  — John


More information about the valhalla-dev mailing list