-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
Description
In java 17's foreign api, there exists a set of default ValueLayouts corresponding to the C types. These layouts are dangerous, as their definitions do not correspond to java types at all except by luck, and could cause problems in the future. It is for the best that we define layouts like Java_Int like java 19's foreign api does and use those, as java's types have a fixed width regardless of platform, and we need the appropriate layouts when writing methods using them.