RFR: 8367129: Move input validation checks to Java for java.lang.StringLatin1 intrinsics [v2]

Volkan Yazici vyazici at openjdk.org
Thu Feb 12 16:11:25 UTC 2026


> Moves input validation checks to Java for `java.lang.StringLatin1` intrinsics. While doing so, affected `java.lang.StringUTF16` methods needed to be updated due to relaxed checks at intrinsics. The javadocs of the touched methods are extensively overhauled.

Volkan Yazici has updated the pull request incrementally with one additional commit since the last revision:

  Apply review feedback

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/28832/files
  - new: https://git.openjdk.org/jdk/pull/28832/files/6e5273ed..068eb358

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28832&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28832&range=00-01

  Stats: 33 lines in 3 files changed: 0 ins; 6 del; 27 mod
  Patch: https://git.openjdk.org/jdk/pull/28832.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28832/head:pull/28832

PR: https://git.openjdk.org/jdk/pull/28832


More information about the core-libs-dev mailing list