Summary
-------
Remove terminally deprecated constant RMIConnectorServer.CREDENTIALS_TYPES.
Problem
-------
RMIConnectorServer.CREDENTIALS_TYPES constant was superseded by RMIConnectorServer.CREDENTIALS_FILTER_PATTERN and marked as deprecated and in need of removal in JDK 10 by JDK-8191313.
Solution
--------
Remove the constant in question.
Specification
-------------
--- a/src/java.management.rmi/share/classes/javax/management/remote/rmi/RMIConnectorServer.java Fri Jan 10 15:38:25 2020 +0100
+++ b/src/java.management.rmi/share/classes/javax/management/remote/rmi/RMIConnectorServer.java Fri Jan 10 17:13:31 2020 -0800
@@ -102,26 +102,6 @@
"jmx.remote.rmi.server.socket.factory";
/**
- * Name of the attribute that specifies a list of class names acceptable
- * as parameters to the {@link RMIServer#newClient(java.lang.Object) RMIServer.newClient()}
- * remote method call.
- * <p>
- * This list of classes should correspond to the transitive closure of the
- * credentials class (or classes) used by the installed {@linkplain JMXAuthenticator}
- * associated with the {@linkplain RMIServer} implementation.
- * <p>
- * If the attribute is not set, or is null, then any class is
- * deemed acceptable.
- *
- * @deprecated Use {@link #CREDENTIALS_FILTER_PATTERN} with a
- * {@linkplain java.io.ObjectInputFilter.Config#createFilter
- * filter pattern} string instead.
- */
- @Deprecated(since="10", forRemoval=true)
- public static final String CREDENTIAL_TYPES =
- "jmx.remote.rmi.server.credential.types";
-
- /**
* Name of the attribute that specifies an
* {@link ObjectInputFilter} pattern string to filter classes acceptable
* for {@link RMIServer#newClient(java.lang.Object) RMIServer.newClient()}