RFR: 8268698: Use Objects.check{Index, FromToIndex, FromIndexSize} where possible [v7]
Paul Sandoz
psandoz at openjdk.java.net
Tue Jun 22 17:57:27 UTC 2021
On Tue, 22 Jun 2021 02:58:28 GMT, Yi Yang <yyang at openjdk.org> wrote:
> I found that after solving the problem that Preconditions cannot be used during the VM startup, a series of functions such as String.checkIndex/checkOffset/.. can also be harmlessly replaced, but this changeset is somewhat large and may overwrite the previous review progress. If it will confuse the current review progress for reviewers involving in this PR, I'd like to file a new PR to do this change later.
Yes, I think that helps to review. It's often easier, review-wise, to have separate PRs for specific areas, rather than keep expanding an existing PR.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4507
More information about the serviceability-dev
mailing list