On Fri, 24 Sep 2021 13:32:01 GMT, Weijun Wang <wei...@openjdk.org> wrote:

>> The default list of providers defined in java.security file can be 
>> overridden with a custom file, declared with 
>> `-Djava.security.properties=/path/to/custom.security` command line parameter.
>> If the new list of providers is shorter than the original one, it is 
>> necessary to add an empty entry to terminate the list, like:
>> 
>> security.provider.1=BCFIPS C:HYBRID;ENABLE{All}
>> security.provider.2=SUN
>> security.provider.3=BCJSSE fips:BCFIPS
>> security.provider.4=
>> 
>> otherwise some providers from the default list will still be used.
>> 
>> Currently Java outputs an error message on standard error when it encounters 
>> an empty entry on the provider list. This PR silences that message.
>
> Changes looks fine. I've also added a `noreg-trivial` label to the JBS bug.

Thank you @wangweij for the review and JBS changes. Could you sponsor this 
patch?

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

PR: https://git.openjdk.java.net/jdk/pull/5674

Reply via email to