> Improve input validation checks and documentation of the > `java.lang.StringUTF16` intrinsics. > > ### References: > > - [JDK-8374582] #29164 — ditto for `java.lang.StringCoding` > - [JDK-8367129] #28832 — ditto for `java.lang.StringLatin1` > > [JDK-8367129]: https://bugs.openjdk.org/browse/JDK-8367129 > [JDK-8374582]: https://bugs.openjdk.org/browse/JDK-8374582
Volkan Yazici has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains nine additional commits since the last revision: - Merge remote-tracking branch 'upstream/master' into sU16 - Replace `RETURN_ON_BAILOUT` with two methods - Move `if (stopped())` into `while (0)` - `with_opaque` of `generate_string_range_check` become redundant, remove it - Sharpen class visibility - Guard `getChars()` - Guard `toBytes()` - Factor bailing logic in `generate_string_range_check` out - Document `getChar`/`putChar` ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30139/files - new: https://git.openjdk.org/jdk/pull/30139/files/d16b85f8..8569771f Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30139&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30139&range=01-02 Stats: 12406 lines in 317 files changed: 6148 ins; 2953 del; 3305 mod Patch: https://git.openjdk.org/jdk/pull/30139.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30139/head:pull/30139 PR: https://git.openjdk.org/jdk/pull/30139
