RFR: 8276806: Use Objects.checkFromIndexSize where possible in java.base [v2]

Сергей Цыпанов duke at openjdk.java.net
Mon Nov 8 18:59:06 UTC 2021


> This is a follow-up for https://github.com/openjdk/jdk/pull/4507, looks like there are some cases that were not covered.
> 
> Also this is related to https://github.com/openjdk/jdk/pull/3615

Сергей Цыпанов has updated the pull request incrementally with one additional commit since the last revision:

  8276806: Use Objects.checkFromIndexSize where possible in java.base

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6297/files
  - new: https://git.openjdk.java.net/jdk/pull/6297/files/cd295a93..0089a644

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6297&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6297&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6297.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6297/head:pull/6297

PR: https://git.openjdk.java.net/jdk/pull/6297


More information about the core-libs-dev mailing list