Integrated: 8268698: Use Objects.check{Index, FromToIndex, FromIndexSize} for java.base

Yi Yang yyang at openjdk.java.net
Tue Jul 13 02:38:00 UTC 2021


On Wed, 16 Jun 2021 08:08:47 GMT, Yi Yang <yyang at openjdk.org> wrote:

> After JDK-8265518(#3615), it's possible to replace all variants of checkIndex by Objects.checkIndex/Objects.checkFromToIndex/Objects.checkFromIndexSize in the whole JDK codebase.

This pull request has now been integrated.

Changeset: afe957cd
Author:    Yi Yang <yyang at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/afe957cd9741810a113ea165a635a117c0ea556f
Stats:     357 lines in 40 files changed: 73 ins; 171 del; 113 mod

8268698: Use Objects.check{Index,FromToIndex,FromIndexSize} for java.base

Reviewed-by: mchung, rriggs

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

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



More information about the security-dev mailing list