> This patch changes all VaList implementations to throw > `NoSuchElementException` when out of bounds reads occur on a VaList that is > created using the Java builder API. The docs are updated accordingly. > > For VaLists that are created from native addresses, we don't know their > bounds, so we can not throw exceptions in that case. > > Testing: `jdk_foreign` test suite on all platforms that implement VaList.
Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision: Review comments ------------- Changes: - all: https://git.openjdk.org/jdk19/pull/91/files - new: https://git.openjdk.org/jdk19/pull/91/files/e1c757c6..e7d7b367 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk19&pr=91&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk19&pr=91&range=00-01 Stats: 19 lines in 2 files changed: 2 ins; 0 del; 17 mod Patch: https://git.openjdk.org/jdk19/pull/91.diff Fetch: git fetch https://git.openjdk.org/jdk19 pull/91/head:pull/91 PR: https://git.openjdk.org/jdk19/pull/91