On Mon, 9 Mar 2026 18:46:01 GMT, Weijun Wang <[email protected]> wrote:
>> Add export function to HPKE. New tests added. >> >> Note that this PR does not compile without >> https://github.com/openjdk/jdk/pull/18409, even if they are touching >> different files. > > Weijun Wang has updated the pull request incrementally with one additional > commit since the last revision: > > exception message can locate test case test/jdk/com/sun/crypto/provider/Cipher/HPKE/Compliance.java line 242: > 240: Asserts.assertThrows(IllegalArgumentException.class, () -> > c1.exportKey("", new byte[1], 32)); > 241: Asserts.assertThrows(IllegalArgumentException.class, () -> > c1.exportData(new byte[1], -1)); > 242: Asserts.assertThrows(IllegalArgumentException.class, () -> > c1.exportData(null, 32)); Adding NullpointerException check for exportKey() compliance test? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/30146#discussion_r2990768845
