> Logic for creating IndexOutOfBoundsException in MemorySegment is reworked:
> - separate logic of checking bounds and constructing exception messages for 
> both `access` and `slice` cases 
> - idea presented in 
> [JDK-8288534](https://bugs.openjdk.org/browse/JDK-8288534) slightly reworked 
> with preservation of the original approach

Igor Rudenko 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 three additional commits since 
the last revision:

 - Merge branch 'openjdk:master' into JDK-8346657
 - Fixes according to reviewer's comments
 - JDK-8346657: Improve out of bounds exception messages for MemorySegments

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

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

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

  Stats: 165301 lines in 1040 files changed: 112298 ins; 24618 del; 28385 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

Reply via email to