On Wed, 16 Mar 2022 14:37:57 GMT, Thomas Stuefe <stu...@openjdk.org> wrote:
> The way we solve this usually is by homogenizing malloc behavior across all > platforms with `if (len == 0) len=1;` Interesting! That idea didn't occur to me until after I submitted the PR. I'm happy to test that out and see how it works. ------------- PR: https://git.openjdk.java.net/jdk/pull/7829