Author: kwall
Date: Mon Feb 15 17:06:18 2016
New Revision: 1730570
URL: http://svn.apache.org/viewvc?rev=1730570&view=rev
Log:
NO-JIRA: Fix compliation issue introduced by 1730565
Modified:
qpid/java/branches/6.0.x/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/QpidSslRMIServerSocketFactory.java
Modified:
qpid/java/branches/6.0.x/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/QpidSslRMIServerSocketFactory.java
URL:
http://svn.apache.org/viewvc/qpid/java/branches/6.0.x/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/QpidSslRMIServerSocketFactory.java?rev=1730570&r1=1730569&r2=1730570&view=diff
==============================================================================
---
qpid/java/branches/6.0.x/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/QpidSslRMIServerSocketFactory.java
(original)
+++
qpid/java/branches/6.0.x/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/QpidSslRMIServerSocketFactory.java
Mon Feb 15 17:06:18 2016
@@ -24,7 +24,9 @@ import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.ServerSocket;
import java.net.Socket;
+import java.util.ArrayList;
import java.util.Collection;
+import java.util.List;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSocket;
@@ -37,8 +39,8 @@ import org.apache.qpid.transport.network
public class QpidSslRMIServerSocketFactory extends SslRMIServerSocketFactory
{
private final SSLContext _sslContext;
- private final Collection<String> _enabledCipherSuites;
- private final Collection<String> _disabledCipherSuites;
+ private final List<String> _enabledCipherSuites;
+ private final List<String> _disabledCipherSuites;
private final Action<Integer> _portAllocationAction;
/**
@@ -63,8 +65,8 @@ public class QpidSslRMIServerSocketFacto
}
_sslContext = sslContext;
- _enabledCipherSuites = enabledCipherSuites;
- _disabledCipherSuites = disabledCipherSuites;
+ _enabledCipherSuites = new ArrayList(enabledCipherSuites);
+ _disabledCipherSuites = new ArrayList(disabledCipherSuites);
_portAllocationAction = action;
//TODO: settings + implementation for SSL client auth, updating equals
and hashCode appropriately.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]