Integrated: 8274143 Disable "invalid entry for security.provider.X" error message in log file when security.provider.X is empty
Daniel Jeliński
github.com+30433125+djelinski at openjdk.java.net
Sat Sep 25 15:40:57 UTC 2021
On Fri, 24 Sep 2021 08:01:07 GMT, Daniel Jeliński <github.com+30433125+djelinski at 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.
This pull request has now been integrated.
Changeset: 4838a2ca
Author: Daniel Jelinski <daniel.jelinski at dynatrace.com>
Committer: Weijun Wang <weijun at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/4838a2ca7c8e75b95c1c68ada7523e2a94815f45
Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
8274143: Disable "invalid entry for security.provider.X" error message in log file when security.provider.X is empty
Reviewed-by: weijun
-------------
PR: https://git.openjdk.java.net/jdk/pull/5674
More information about the security-dev
mailing list