RFR: 8346657: Improve out of bounds exception messages for MemorySegments [v2]

Igor Rudenko duke at openjdk.org
Sat Nov 8 20:55:41 UTC 2025


> Add more precise message for IndexOutOfBoundsException in MemorySegment

Igor Rudenko has updated the pull request incrementally with one additional commit since the last revision:

  Fixes according to reviewer's comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28124/files
  - new: https://git.openjdk.org/jdk/pull/28124/files/a106ac87..adc7a068

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

  Stats: 95 lines in 4 files changed: 65 ins; 7 del; 23 mod
  Patch: https://git.openjdk.org/jdk/pull/28124.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28124/head:pull/28124

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


More information about the core-libs-dev mailing list