On Fri, 7 Jul 2023 18:25:58 GMT, sid8606 <d...@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