On Tue, 10 Mar 2026 15:50:37 GMT, Hai-May Chao <[email protected]> wrote:
> Exception changes in Hybrid for errors in engineDecapsulate() and
> engineEncapsulate().
src/java.base/share/classes/sun/security/ssl/Hybrid.java line 321:
> 319: int expectedSecretSize = engineSecretSize();
> 320: if (!(from == 0 && to == expectedSecretSize)) {
> 321: throw new IndexOutOfBoundsException(
Do you think negative testing would be beneficial here?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/30167#discussion_r2913117708