On Thu, 27 Apr 2023 15:40:53 GMT, Weijun Wang <wei...@openjdk.org> wrote:

>> The KEM API and DHKEM impl. Note that this PR uses new methods in 
>> https://github.com/openjdk/jdk/pull/13250.
>
> Weijun Wang has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   more @since and about nulls

I feel the use of `from` and `to` is error prone.  I know I never remember if 
Arrays.copyOfRange() includes or excludes the `to` index.  I think less 
mistakes would be made if it used `index` and `length` instead.

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

PR Comment: https://git.openjdk.org/jdk/pull/13256#issuecomment-1526680954

Reply via email to