RFR: 8206904: [lworld] fix Unsafe get* with value types (original) (raw)

Tobias Hartmann tobias.hartmann at oracle.com
Mon Jul 9 13:45:58 UTC 2018


Hi Roland,

On 09.07.2018 15:43, Roland Westrelin wrote:

Why do you need the (long)(int) cast in librarycall.cpp? A giant offset, once truncated to int, could still pass: vk->containsfieldoffset(off).

Right, thanks for the explanation. Looks good.

Tobias



More information about the valhalla-dev mailing list