> 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.
Jorn Vernee has updated the pull request incrementally with two additional commits since the last revision: - Add javadoc - Revert "Throw IAE when converting string with null byte." This reverts commit 70f83902a38e863b96fedb312982f7ac683ed068. ------------- Changes: - all: https://git.openjdk.org/jdk19/pull/107/files - new: https://git.openjdk.org/jdk19/pull/107/files/70f83902..7234fd72 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk19&pr=107&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk19&pr=107&range=00-01 Stats: 43 lines in 4 files changed: 17 ins; 25 del; 1 mod Patch: https://git.openjdk.org/jdk19/pull/107.diff Fetch: git fetch https://git.openjdk.org/jdk19 pull/107/head:pull/107 PR: https://git.openjdk.org/jdk19/pull/107