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

Volkan Yazici vyazici at openjdk.org
Fri Feb 13 14:41:15 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 two additional commits since the last revision:

 - Use `vmIntrinsics::*` to refer to intrinsics from Java
 - Improve vertical alignment in `vmIntrinsics.hpp`

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

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

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

  Stats: 20 lines in 3 files changed: 0 ins; 0 del; 20 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