-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
None
-
Affects Version/s: 8, 25
-
Component/s: security-libs
-
None
java.security.Provider.Service#toString :
public String toString() {
String aString = aliases.isEmpty()
? "" : "\r\n aliases: " + aliases.toString();
String attrs = attributes.isEmpty()
? "" : "\r\n attributes: " + attributes.toString();
return provider.getName() + ": " + type + "." + algorithm
+ " -> " + className + aString + attrs + "\r\n";
}
System.newline() should be used to provide better output. Unix views are corrupted otherwise, Here's log extract from output with -Djava.security.debug=provider : (notice ^M)
Provider[0x3|main|Provider.java:1224|2025-11-26 14:12:35.557]: SunJSSE.putService(): SunJSSE: TrustManagerFactory.PKIX -> sun.security.ssl.TrustManagerFactoryImpl$PKIXFactory^M
aliases: [SunPKIX, X509, X.509]^M
public String toString() {
String aString = aliases.isEmpty()
? "" : "\r\n aliases: " + aliases.toString();
String attrs = attributes.isEmpty()
? "" : "\r\n attributes: " + attributes.toString();
return provider.getName() + ": " + type + "." + algorithm
+ " -> " + className + aString + attrs + "\r\n";
}
System.newline() should be used to provide better output. Unix views are corrupted otherwise, Here's log extract from output with -Djava.security.debug=provider : (notice ^M)
Provider[0x3|main|Provider.java:1224|2025-11-26 14:12:35.557]: SunJSSE.putService(): SunJSSE: TrustManagerFactory.PKIX -> sun.security.ssl.TrustManagerFactoryImpl$PKIXFactory^M
aliases: [SunPKIX, X509, X.509]^M