Existing provider filtering code only handles two standard attribute "KeySize" and "ImplementedIn", the rest are compared by exact match. Over time, more standard attributes are added which contain multiple values separated by "|". We should enhance the provider filtering code to better compare these.
Documentation update for this is tracked separately under https://bugs.openjdk.org/browse/JDK-6447817. Thanks in advance for review~ ------------- Commit messages: - 6447816: Provider filtering (getProviders) is not working with OR'd conditions Changes: https://git.openjdk.org/jdk/pull/10008/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10008&range=00 Issue: https://bugs.openjdk.org/browse/JDK-6447816 Stats: 238 lines in 2 files changed: 169 ins; 38 del; 31 mod Patch: https://git.openjdk.org/jdk/pull/10008.diff Fetch: git fetch https://git.openjdk.org/jdk pull/10008/head:pull/10008 PR: https://git.openjdk.org/jdk/pull/10008