RFR: 8268698: Use Objects.check{Index, FromToIndex, FromIndexSize} for java.base [v11]

Mandy Chung mchung at openjdk.java.net
Thu Jul 8 19:49:59 UTC 2021


On Thu, 8 Jul 2021 03:12:24 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.
>
> Yi Yang has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
> 
>   restore JSR166; restore java.desktop

Looks good.  Thanks for separating the other files from this patch.   I also did a test run on tier1-3 that looks clean.

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

Marked as reviewed by mchung (Reviewer).

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


More information about the core-libs-dev mailing list