RFR: 8311630: [s390] Implementation of Foreign Function & Memory API (Preview) [v2]

Jorn Vernee jvernee at openjdk.org
Fri Jul 7 19:38:55 UTC 2023


On Fri, 7 Jul 2023 18:25:58 GMT, sid8606 <duke at openjdk.org> wrote:

>> Ah, wait, now I see. The native side uses `int` as a type, but we try to load it as a `JAVA_BYTE`. I think this is a bug in the test. The Java side should use `JAVA_INT` instead, and the size passed to `reinterpret` should be `4` (which matches the native type). What happens if you make that change instead? Does the test pass then?
>
> Yes, it does pass the test with above changes.

Ok, please use the above changes instead then.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/14801#discussion_r1256361842


More information about the core-libs-dev mailing list