RFR: 6447816: Provider filtering (getProviders) is not working with OR'd conditions [v2]

Valerie Peng valeriep at openjdk.org
Wed Sep 7 20:56:53 UTC 2022


On Wed, 7 Sep 2022 18:42:05 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> So, is it about empty all Providers or empty filter map? I only added the check on latter. Are you suggesting to add a check for the former?
>
> Maybe the former. I just don't want this method to return an empty array, whatever the reason is.

Then I will re-write the checks. The original code does not ensure null is returned when allProviders is empty.

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

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



More information about the security-dev mailing list