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

Valerie Peng valeriep at openjdk.org
Thu Aug 25 20:06:53 UTC 2022


On Thu, 25 Aug 2022 14:41:44 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Valerie Peng has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   update test to use SHA256 and DSA throughout.
>
> src/java.base/share/classes/java/security/Security.java line 945:
> 
>> 943: 
>> 944:     static String[] getFilterComponents(String filterKey, String filterValue) {
>> 945: 
> 
> Can we create a new class for the return value plus `filterValue`? Then we can make `isCriterionSatisfied(Provider)` a method of it.

Sure, sounds good.

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

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



More information about the security-dev mailing list