-
Bug
-
Resolution: Unresolved
-
P4
-
21
This is specifically for Zero, see https://github.com/openjdk/jdk/pull/12477#issuecomment-1424571609.
It looks like the address of `env` is taken and stored in a buffer, however `env` becomes invalidated after the block and the buffer is then passed to FFI. `env` needs to outlive, so it should probably be moved up outside of the block.
It looks like the address of `env` is taken and stored in a buffer, however `env` becomes invalidated after the block and the buffer is then passed to FFI. `env` needs to outlive, so it should probably be moved up outside of the block.