mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8302696: Revert API signature changes made in JDK-8285504 and JDK-8285263
Reviewed-by: mullan
(cherry picked from commit 9486969bd3)
This commit is contained in:
committed by
Vitaly Provodin
parent
8c0a9351ab
commit
9c1ee8f69a
@@ -427,7 +427,7 @@ public class CertStore {
|
||||
* {@literal "LDAP"} if no such property exists.
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
public static String getDefaultType() {
|
||||
public static final String getDefaultType() {
|
||||
String cstype;
|
||||
cstype = AccessController.doPrivileged((PrivilegedAction<String>) () ->
|
||||
Security.getProperty(CERTSTORE_TYPE));
|
||||
|
||||
@@ -63,7 +63,7 @@ public class KeyManagerFactory {
|
||||
* implementation-specific default if no such property exists.
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
public static String getDefaultAlgorithm() {
|
||||
public static final String getDefaultAlgorithm() {
|
||||
String type;
|
||||
type = AccessController.doPrivileged((PrivilegedAction<String>) () ->
|
||||
Security.getProperty("ssl.KeyManagerFactory.algorithm"));
|
||||
|
||||
@@ -75,7 +75,7 @@ public class TrustManagerFactory {
|
||||
* implementation-specific default if no such property exists.
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
public static String getDefaultAlgorithm() {
|
||||
public static final String getDefaultAlgorithm() {
|
||||
String type;
|
||||
type = AccessController.doPrivileged((PrivilegedAction<String>) () ->
|
||||
Security.getProperty( "ssl.TrustManagerFactory.algorithm"));
|
||||
|
||||
Reference in New Issue
Block a user