RFR: 8206904: [lworld] fix Unsafe get* with value types

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 library_call.cpp?
> 
> A giant offset, once truncated to int, could still pass:
> vk->contains_field_offset(off).

Right, thanks for the explanation. Looks good.

Tobias



More information about the valhalla-dev mailing list