mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8274143: Disable "invalid entry for security.provider.X" error message in log file when security.provider.X is empty
Reviewed-by: weijun
This commit is contained in:
parent
ab28db1428
commit
4838a2ca7c
1 changed files with 3 additions and 1 deletions
|
@ -178,8 +178,10 @@ public final class ProviderList {
|
||||||
while ((entry = Security.getProperty("security.provider." + i)) != null) {
|
while ((entry = Security.getProperty("security.provider." + i)) != null) {
|
||||||
entry = entry.trim();
|
entry = entry.trim();
|
||||||
if (entry.isEmpty()) {
|
if (entry.isEmpty()) {
|
||||||
System.err.println("invalid entry for " +
|
if (debug != null) {
|
||||||
|
debug.println("empty entry for " +
|
||||||
"security.provider." + i);
|
"security.provider." + i);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
int k = entry.indexOf(' ');
|
int k = entry.indexOf(' ');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue