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
- Previous message (by thread): RFR: 8206904: [lworld] fix Unsafe get* with value types
- Next message (by thread): RFR: 8206904: [lworld] fix Unsafe get* with value types
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): RFR: 8206904: [lworld] fix Unsafe get* with value types
- Next message (by thread): RFR: 8206904: [lworld] fix Unsafe get* with value types
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]