2003-01-14 Michael Koch <konqueror@gmx.de>

* java/net/InetSocketAddress.java
	(serialVersionUID): New member variable.
	* java/net/NetPermission.java
	(NetPermission): Dont implement java.io.Serialization directly.
	* java/net/SocketAddress.java:
	(serialVersionUID): Documentation added.

From-SVN: r61305
This commit is contained in:
Michael Koch 2003-01-14 21:44:48 +00:00 committed by Michael Koch
parent a7189b490f
commit 8cb5ee7192
4 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2003-01-14 Michael Koch <konqueror@gmx.de>
* java/net/InetSocketAddress.java
(serialVersionUID): New member variable.
* java/net/NetPermission.java
(NetPermission): Dont implement java.io.Serialization directly.
* java/net/SocketAddress.java:
(serialVersionUID): Documentation added.
2003-01-14 Michael Koch <konqueror@gmx.de>
* java/awt/Label.java

View File

@ -47,6 +47,11 @@ package java.net;
public class InetSocketAddress extends SocketAddress
{
/**
* Compatible with JDK 1.4+
*/
private static final long serialVersionUID = 5076001401234631237L;
String hostname;
InetAddress addr;
int port;

View File

@ -48,7 +48,6 @@ import java.security.BasicPermission;
* @author Aaron M. Renn (arenn@urbanophile.com)
*/
public final class NetPermission extends BasicPermission
implements java.io.Serializable
{
static final long serialVersionUID = -8343910153355041693L;

View File

@ -48,6 +48,9 @@ import java.io.Serializable;
*/
public abstract class SocketAddress implements Serializable
{
/**
* Compatible with JDK 1.4+
*/
static final long serialVersionUID = 5215720748342549866L;
/**