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

Weijun Wang weijun at openjdk.org
Fri Aug 26 00:31:53 UTC 2022


On Thu, 25 Aug 2022 23:31:53 GMT, Valerie Peng <valeriep at openjdk.org> wrote:

>> test/jdk/java/security/Security/ProviderFiltering.java line 109:
>> 
>>> 107:         filters.put("Signature.SHA256withDSA", "");
>>> 108:         doit(filters, p);
>>> 109:         filters.put("Cipher.Nonexisting", "");
>> 
>> Even if it's not "Nonexisting", I assume it's still empty after filtering?
>
> You mean the result should be empty even if it's not "Nonexisting"? Yes, the result is empty even if you change to use "AES" instead of "Nonexisting".

Yes, that's what I mean. Otherwise it looks like it's because of the "NonExisting" word that makes the result empty.

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

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



More information about the security-dev mailing list