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 valeriep (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/14916#pullrequestreview-1544260493