On Mon, 4 Jul 2022 13:01:34 GMT, Jorn Vernee <jver...@openjdk.org> wrote:
> This PR updates the spec and implementation to throw an > `IllegalArgumentException` when an attempt is made to convert a Java string > containing null characters to a C string. > > Testing: local run of the `jdk_foreign` test suite. This pull request has now been integrated. Changeset: 460d879a Author: Jorn Vernee <jver...@openjdk.org> URL: https://git.openjdk.org/jdk19/commit/460d879a75133fc071802bbc2c742b4232db604e Stats: 11 lines in 2 files changed: 11 ins; 0 del; 0 mod 8289601: SegmentAllocator::allocateUtf8String(String str) should be clarified for strings containing \0 Reviewed-by: psandoz, mcimadamore ------------- PR: https://git.openjdk.org/jdk19/pull/107