RFR: 8353197: Document preconditions for JavaLangAccess methods [v7]

Volkan Yazici vyazici at openjdk.org
Mon May 12 19:42:15 UTC 2025


> Document preconditions on certain `JavaLangAccess` methods that use operations either unsafe and/or without range checks.

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 jla
 - Improve `uncheckedGetBytesNoRepl` docs
 - Apply suggestions from code review
   
   Co-authored-by: Roger Riggs <Roger.Riggs at Oracle.com>
 - Prefixed `JavaLangAccess::stringConcat1` with `unchecked`
 - Fix `HexDigits` copyright year
 - Fix copyright years
 - Prefix touched methods with `unchecked`
 - Fix typo in pre-existing JavaDoc
 - Improve `JavaLangAccess` documentation

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24982/files
  - new: https://git.openjdk.org/jdk/pull/24982/files/0ac2101a..0e06ce1d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24982&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24982&range=05-06

  Stats: 38505 lines in 1296 files changed: 26044 ins; 7087 del; 5374 mod
  Patch: https://git.openjdk.org/jdk/pull/24982.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24982/head:pull/24982

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


More information about the core-libs-dev mailing list