On Tue, 29 Apr 2025 22:11:20 GMT, Mark Powers <mpow...@openjdk.org> wrote:

>> This is a side issue, but it looks like this API can also throw 
>> `IndexOutOfBoundsException` if an offset is input which causes 
>> `System.arraycopy` (on line 112) to access the iv out of range. Please check 
>> and file a separate issue to have this exception documented, if so.
>
> I don't think this can happen because of the check on line 108.

Ah yes, you're right.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24854#discussion_r2067518547

Reply via email to