Integrated: 8350147: Replace example in KEM class with the one from JEP 452

Bradford Wetmore wetmore at openjdk.org
Sat Feb 15 22:43:15 UTC 2025


On Sat, 15 Feb 2025 05:02:44 GMT, Bradford Wetmore <wetmore at openjdk.org> wrote:

> The example code in the JEP was much clearer than that in the current `KEM` class.  It's easier to keep the various nested classes straight, rather than using `var`s which require scrolling to see what the return types are. 
> 
> Added/tweaked example for clarity.
> 
> Generated/checked javadocs, but no regression/JCK tests is necessary.

This pull request has now been integrated.

Changeset: 7d11418c
Author:    Bradford Wetmore <wetmore at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7d11418c820b46926a25907766d16083a4b349de
Stats:     32 lines in 1 file changed: 18 ins; 2 del; 12 mod

8350147: Replace example in KEM class with the one from JEP 452

Reviewed-by: weijun

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

PR: https://git.openjdk.org/jdk/pull/23652


More information about the security-dev mailing list