[foreign] RFR 8219103: Add an offsetOf utility to find the offset of Struct fields
Jorn Vernee
jbvernee at xs4all.nl
Fri Feb 15 15:27:28 UTC 2019
Hi,
This is an RFR for the earlier proposed offsetOf utility for finding the
offset of a field of a struct.
This is based on Maurizio's suggestion to use the LayoutPath API [1],
with some minor tweaks and a test added.
Bug: https://bugs.openjdk.java.net/browse/JDK-8219103
Webrev:
http://cr.openjdk.java.net/~jvernee/panama/webrevs/8219103/webrev.00/
Thanks,
Jorn
[1] :
https://mail.openjdk.java.net/pipermail/panama-dev/2019-February/004360.html
More information about the panama-dev
mailing list