On Fri, 2 May 2025 17:32:41 GMT, Roger Riggs <rri...@openjdk.org> wrote:
> This use of Unsafe is not warranted. If it can't be done with arrayCopy, > leave the original code as is. The core library also uses Unsafe.copyMemory in many places. Can it be used in this scenario? Or can we find other ways to copy char[] to byte[]? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24773#discussion_r2071979599