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
@ -178,8 +178,10 @@ public final class ProviderList {
|
||||
while ((entry = Security.getProperty("security.provider." + i)) != null) {
|
||||
entry = entry.trim();
|
||||
if (entry.isEmpty()) {
|
||||
System.err.println("invalid entry for " +
|
||||
if (debug != null) {
|
||||
debug.println("empty entry for " +
|
||||
"security.provider." + i);
|
||||
}
|
||||
break;
|
||||
}
|
||||
int k = entry.indexOf(' ');
|
||||
|
Loading…
x
Reference in New Issue
Block a user