diff options
Diffstat (limited to 'javax/rmi/ssl/SslRMIClientSocketFactory.java')
-rw-r--r-- | javax/rmi/ssl/SslRMIClientSocketFactory.java | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/javax/rmi/ssl/SslRMIClientSocketFactory.java b/javax/rmi/ssl/SslRMIClientSocketFactory.java index 6fcd397dc..1fed5824c 100644 --- a/javax/rmi/ssl/SslRMIClientSocketFactory.java +++ b/javax/rmi/ssl/SslRMIClientSocketFactory.java @@ -38,6 +38,8 @@ exception statement from your version. */ package javax.rmi.ssl; import java.io.IOException; +import java.io.Serializable; + import java.util.StringTokenizer; import javax.net.ssl.SSLSocketFactory; import javax.net.ssl.SSLSocket; @@ -62,8 +64,15 @@ import java.rmi.server.RMIClientSocketFactory; * @author Sven de Marothy * @since 1.5 */ -public class SslRMIClientSocketFactory implements RMIClientSocketFactory +public class SslRMIClientSocketFactory + implements RMIClientSocketFactory, Serializable { + + /** + * Compatible with JDK 1.5 + */ + private static final long serialVersionUID = -8310631444933958385L; + private String[] enabledCipherSuites, enabledProtocols; /** @@ -154,4 +163,4 @@ public class SslRMIClientSocketFactory implements RMIClientSocketFactory hash = hash ^ enabledProtocols[i].hashCode(); return hash; } -}
\ No newline at end of file +} |