Skip to content

Create Java_ layouts for Java 17 #160

@markehammons

Description

@markehammons

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions