Skip to content

Commit 68a1185

Browse files
koushikthirupatturseanjmullan
authored andcommitted
8310003: Improve logging when default truststore is inaccessible
Reviewed-by: mullan
1 parent 3b20bed commit 68a1185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java.base/share/classes/sun/security/ssl/TrustStoreManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ private TrustStoreDescriptor(String storeName, String storeType,
112112
SSLLogger.fine(
113113
"trustStore is: " + storeName + "\n" +
114114
"trustStore type is: " + storeType + "\n" +
115-
"trustStore provider is: " + storeProvider + "\n" +
115+
"trustStore provider is: " + (storeProvider.isEmpty() ? "unspecified" : storeProvider) + "\n" +
116116
"the last modified time is: " + (new Date(lastModified)));
117117
}
118118
}

0 commit comments

Comments
 (0)