Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FFI/Jtreg_JDK21] Fix the native segment access in test
The change is to restore the previous fix in OpenJDK to deal with the native memory access given SymbolLookup.loaderLookup().find() returns a zero-sized segment for ADDRESS as explained in OpenJDK, in which case it should be reinterpreted as an valid segment with the specified size to ensure it works correctly. Fixes: #eclipse-openj9/openj9/issues/17676 Signed-off-by: ChengJin01 <jincheng@ca.ibm.com>
- Loading branch information