<AWT Dev> RFR: 8270058: Use Objects.check{Index, FromIndexSize} for java.desktop [v2]

Yi Yang yyang at openjdk.java.net
Fri Jul 30 07:21:29 UTC 2021

On Fri, 30 Jul 2021 06:23:40 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Hi, sorry for the late response. checkFromToIndex has many constraints, this code may not satisfy those constraints, so I don't think we should do that in this PR.(Maybe we can file a new PR to do replacement carefully)
> OK...The subject line of this PR states that checkFromToIndex will also be used but I see only checkIndex so I intervened. Anyways, the code in question is in test so not much of an issue.

Thanks @prsadhuk for review! I've updated the title to exclude checkFromToIndex.


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

More information about the awt-dev mailing list