Re: RFR: 8295068: SSLEngine throws NPE parsing CertificateRequests [v2]

2023-07-06 Thread Xue-Lei Andrew Fan
On Thu, 6 Jul 2023 15:52:00 GMT, Kevin Driver wrote: >> JDK-8295068: an NPE is thrown when an invalid `id` is found to match up a >> `ClientCertificateType`; rather than throwing the `NPE`, we now ignore an >> `id` which does match a `ClientCertificateType`. > > Kevin Driver has updated the

Re: RFR: 8295068: SSLEngine throws NPE parsing CertificateRequests [v2]

2023-07-06 Thread Kevin Driver
> JDK-8295068: an NPE is thrown when an invalid `id` is found to match up a > `ClientCertificateType`; rather than throwing the `NPE`, we now throw an > `IllegalArgumentException`. This does not seem to be a scenario where > recovery is possible or desired, so the `IAE` should be the proper