On Thu, 6 Aug 2026 21:35:48 GMT, Valerie Peng <[email protected]> wrote:

>> Initial commit containing the public API changes and related regression 
>> tests.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Valerie Peng has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   import cleanup.

src/java.base/share/classes/sun/security/util/Argon2Util.java line 64:

> 62:                     ", but got " + name);
> 63:         }
> 64:         int value = Integer.parseInt(pair[1]);

If `s` doesn't contain `=` then `ArrayIndexOutOfBoundsException` will be thrown 
here. We should check for such condition and throw `IllegalArgumentException` 
instead.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29597#discussion_r3780015744

Reply via email to