On Tue, 18 Jul 2023 03:58:50 GMT, Anthony Scarpino <ascarp...@openjdk.org> 
wrote:

> Hi,
> 
> This fix eliminates needless exceptions each time the EC key size is obtained 
> through AlgorithmParameters on third party providers.  These providers throw 
> an InvalidParameterSpecException as `sun.security.util.KeyUtil.getKey()` 
> sends an internal `sun.security.util.ECKeySizeParameterSpec`.   The exception 
> is properly handled, but the number of exceptions becomes excessive with TLS.
> Calling ECKeySizeParameterSpec only with SunEC resolves this issue.
> 
> Thanks
> 
> Tony

Marked as reviewed by hchao (Committer).

LGTM

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

PR Review: https://git.openjdk.org/jdk/pull/14916#pullrequestreview-1543980287
PR Comment: https://git.openjdk.org/jdk/pull/14916#issuecomment-1648351803

Reply via email to