mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8280970: Cleanup dead code in java.security.Provider
Reviewed-by: valeriep
This commit is contained in:
parent
e44dc638b8
commit
63e11cfa3f
1 changed files with 0 additions and 14 deletions
|
@ -1116,11 +1116,6 @@ public abstract class Provider extends Properties {
|
|||
return new String[] {type, alg};
|
||||
}
|
||||
|
||||
// utility method for getting a String with service type and algorithm
|
||||
private static String getKey(Service s) {
|
||||
return s.getType() + "." + s.getAlgorithm();
|
||||
}
|
||||
|
||||
private static final String ALIAS_PREFIX = "Alg.Alias.";
|
||||
private static final String ALIAS_PREFIX_LOWER = "alg.alias.";
|
||||
private static final int ALIAS_LENGTH = ALIAS_PREFIX.length();
|
||||
|
@ -1544,21 +1539,12 @@ public abstract class Provider extends Properties {
|
|||
final String name;
|
||||
final boolean supportsParameter;
|
||||
final String constructorParameterClassName;
|
||||
private volatile Class<?> constructorParameterClass;
|
||||
|
||||
EngineDescription(String name, boolean sp, String paramName) {
|
||||
this.name = name;
|
||||
this.supportsParameter = sp;
|
||||
this.constructorParameterClassName = paramName;
|
||||
}
|
||||
Class<?> getConstructorParameterClass() throws ClassNotFoundException {
|
||||
Class<?> clazz = constructorParameterClass;
|
||||
if (clazz == null) {
|
||||
clazz = Class.forName(constructorParameterClassName);
|
||||
constructorParameterClass = clazz;
|
||||
}
|
||||
return clazz;
|
||||
}
|
||||
}
|
||||
|
||||
// built in knowledge of the engine types shipped as part of the JDK
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue