On Wed, 7 Sep 2022 18:42:05 GMT, Weijun Wang <wei...@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

Reply via email to