On Wed, 3 Jan 2024 20:41:06 GMT, Weijun Wang <wei...@openjdk.org> wrote:

> `KEM.getInstance` now checks if the implementation is from a signed provider 
> if it's not builtin to JDK.
> 
> Several adjustments to the test:
> 1. Put one impl in `SunEC` to pretend it's builtin. This is necessary to test 
> for provider selection.
> 2. When there is no need to choose a provider, use reflection to create a 
> `KEM` object that bypasses the `getInstance` call.

Looks good.

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

Marked as reviewed by valeriep (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17253#pullrequestreview-1812191658

Reply via email to