Commit 86b28213 by Michael Koch Committed by Michael Koch

RMIMarshalledObjectOutputStream.java [...]: File headers and import statements cleaned up.

2004-10-16  Michael Koch  <konqueror@gmx.de>

	* gnu/java/rmi/RMIMarshalledObjectOutputStream.java
	gnu/java/rmi/rmic/RMIC.java,
	gnu/java/rmi/server/RMIHashes.java,
	gnu/java/rmi/server/RMIObjectInputStream.java,
	gnu/java/rmi/server/RMIObjectOutputStream.java,
	gnu/java/rmi/server/UnicastConnection.java,
	gnu/java/rmi/server/UnicastConnectionManager.java,
	gnu/java/rmi/server/UnicastRemoteCall.java,
	gnu/java/rmi/server/UnicastServer.java,
	gnu/java/rmi/server/UnicastServerRef.java,
	java/rmi/MarshalledObject.java,
	java/rmi/Naming.java,
	java/rmi/RMISecurityManager.java,
	java/rmi/Remote.java,
	java/rmi/activation/Activatable.java,
	java/rmi/activation/ActivationDesc.java,
	java/rmi/activation/ActivationGroup.java,
	java/rmi/activation/ActivationGroupDesc.java,
	java/rmi/activation/ActivationGroupID.java,
	java/rmi/activation/ActivationID.java,
	java/rmi/activation/ActivationInstantiator.java,
	java/rmi/activation/ActivationMonitor.java,
	java/rmi/activation/ActivationSystem.java,
	java/rmi/activation/Activator.java,
	java/rmi/dgc/DGC.java,
	java/rmi/dgc/Lease.java,
	java/rmi/dgc/VMID.java,
	java/rmi/registry/LocateRegistry.java,
	java/rmi/registry/Registry.java,
	java/rmi/registry/RegistryHandler.java,
	java/rmi/server/LoaderHandler.java,
	java/rmi/server/LogStream.java,
	java/rmi/server/ObjID.java,
	java/rmi/server/Operation.java,
	java/rmi/server/RMIClassLoader.java,
	java/rmi/server/RMIClassLoaderSpi.java,
	java/rmi/server/RMIClientSocketFactory.java,
	java/rmi/server/RMIFailureHandler.java,
	java/rmi/server/RMIServerSocketFactory.java,
	java/rmi/server/RMISocketFactory.java,
	java/rmi/server/RemoteCall.java,
	java/rmi/server/RemoteObject.java,
	java/rmi/server/RemoteRef.java,
	java/rmi/server/RemoteServer.java,
	java/rmi/server/RemoteStub.java,
	java/rmi/server/ServerRef.java,
	java/rmi/server/Skeleton.java,
	java/rmi/server/SkeletonMismatchException.java,
	java/rmi/server/UID.java,
	java/rmi/server/UnicastRemoteObject.java,
	java/rmi/server/Unreferenced.java:
	File headers and import statements cleaned up.

From-SVN: r89153
parent e86d9e4b
2004-10-16 Michael Koch <konqueror@gmx.de> 2004-10-16 Michael Koch <konqueror@gmx.de>
* gnu/java/rmi/RMIMarshalledObjectOutputStream.java
gnu/java/rmi/rmic/RMIC.java,
gnu/java/rmi/server/RMIHashes.java,
gnu/java/rmi/server/RMIObjectInputStream.java,
gnu/java/rmi/server/RMIObjectOutputStream.java,
gnu/java/rmi/server/UnicastConnection.java,
gnu/java/rmi/server/UnicastConnectionManager.java,
gnu/java/rmi/server/UnicastRemoteCall.java,
gnu/java/rmi/server/UnicastServer.java,
gnu/java/rmi/server/UnicastServerRef.java,
java/rmi/MarshalledObject.java,
java/rmi/Naming.java,
java/rmi/RMISecurityManager.java,
java/rmi/Remote.java,
java/rmi/activation/Activatable.java,
java/rmi/activation/ActivationDesc.java,
java/rmi/activation/ActivationGroup.java,
java/rmi/activation/ActivationGroupDesc.java,
java/rmi/activation/ActivationGroupID.java,
java/rmi/activation/ActivationID.java,
java/rmi/activation/ActivationInstantiator.java,
java/rmi/activation/ActivationMonitor.java,
java/rmi/activation/ActivationSystem.java,
java/rmi/activation/Activator.java,
java/rmi/dgc/DGC.java,
java/rmi/dgc/Lease.java,
java/rmi/dgc/VMID.java,
java/rmi/registry/LocateRegistry.java,
java/rmi/registry/Registry.java,
java/rmi/registry/RegistryHandler.java,
java/rmi/server/LoaderHandler.java,
java/rmi/server/LogStream.java,
java/rmi/server/ObjID.java,
java/rmi/server/Operation.java,
java/rmi/server/RMIClassLoader.java,
java/rmi/server/RMIClassLoaderSpi.java,
java/rmi/server/RMIClientSocketFactory.java,
java/rmi/server/RMIFailureHandler.java,
java/rmi/server/RMIServerSocketFactory.java,
java/rmi/server/RMISocketFactory.java,
java/rmi/server/RemoteCall.java,
java/rmi/server/RemoteObject.java,
java/rmi/server/RemoteRef.java,
java/rmi/server/RemoteServer.java,
java/rmi/server/RemoteStub.java,
java/rmi/server/ServerRef.java,
java/rmi/server/Skeleton.java,
java/rmi/server/SkeletonMismatchException.java,
java/rmi/server/UID.java,
java/rmi/server/UnicastRemoteObject.java,
java/rmi/server/Unreferenced.java:
File headers and import statements cleaned up.
2004-10-16 Michael Koch <konqueror@gmx.de>
* libjava/gnu/java/nio/charset/UTF_16.java, * libjava/gnu/java/nio/charset/UTF_16.java,
libjava/gnu/java/nio/charset/UTF_16BE.java, libjava/gnu/java/nio/charset/UTF_16BE.java,
libjava/gnu/java/nio/charset/UTF_16LE.java, libjava/gnu/java/nio/charset/UTF_16LE.java,
......
/* gnu.java.rmi.RMIMarshalledObjectOutputStream /* gnu.java.rmi.RMIMarshalledObjectOutputStream
Copyright (C) 2002 Free Software Foundation, Inc. Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -38,16 +38,12 @@ exception statement from your version. */ ...@@ -38,16 +38,12 @@ exception statement from your version. */
package gnu.java.rmi; package gnu.java.rmi;
import gnu.java.rmi.server.RMIObjectOutputStream;
import java.io.OutputStream; import java.io.OutputStream;
import java.io.ObjectOutputStream; import java.io.ObjectOutputStream;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.IOException; import java.io.IOException;
import java.rmi.Remote;
import java.rmi.server.ObjID;
import java.rmi.server.RemoteStub;
import gnu.java.rmi.server.RMIObjectOutputStream;
import gnu.java.rmi.server.UnicastServerRef;
/** /**
* This class is only for java.rmi.MarshalledObject to serialize object and * This class is only for java.rmi.MarshalledObject to serialize object and
......
...@@ -36,15 +36,16 @@ this exception to your version of the library, but you are not ...@@ -36,15 +36,16 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */ exception statement from your version. */
package gnu.java.rmi.rmic; package gnu.java.rmi.rmic;
import gnu.java.rmi.server.RMIHashes; import gnu.java.rmi.server.RMIHashes;
import java.io.File; import java.io.File;
import java.io.FileWriter; import java.io.FileWriter;
import java.io.IOException; import java.io.IOException;
import java.io.PrintWriter; import java.io.PrintWriter;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import java.util.Arrays; import java.util.Arrays;
import java.util.HashSet; import java.util.HashSet;
......
/* /* RMIHashes.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -35,15 +35,15 @@ this exception to your version of the library, but you are not ...@@ -35,15 +35,15 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */ exception statement from your version. */
package gnu.java.rmi.server; package gnu.java.rmi.server;
import java.lang.reflect.Method;
import gnu.java.io.NullOutputStream;
import gnu.java.lang.reflect.TypeSignature; import gnu.java.lang.reflect.TypeSignature;
import java.security.MessageDigest;
import java.security.DigestOutputStream;
import java.io.DataOutputStream;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.lang.reflect.Method;
import java.security.MessageDigest;
public class RMIHashes public class RMIHashes
{ {
......
/* /* RMIObjectInputStream.java --
Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2002, 2004
Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -35,14 +36,14 @@ this exception to your version of the library, but you are not ...@@ -35,14 +36,14 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */ exception statement from your version. */
package gnu.java.rmi.server; package gnu.java.rmi.server;
import java.io.ObjectStreamClass;
import java.io.ObjectInputStream;
import java.io.InputStream; import java.io.InputStream;
import java.io.IOException; import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectStreamClass;
import java.lang.reflect.Proxy; import java.lang.reflect.Proxy;
import java.net.URL;
import java.net.MalformedURLException; import java.net.MalformedURLException;
import java.rmi.server.RMIClassLoader; import java.rmi.server.RMIClassLoader;
......
/* /* RMIObjectOutputStream.java -
Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2002, 2004
Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -35,15 +36,15 @@ this exception to your version of the library, but you are not ...@@ -35,15 +36,15 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */ exception statement from your version. */
package gnu.java.rmi.server; package gnu.java.rmi.server;
import java.io.IOException;
import java.io.ObjectOutputStream; import java.io.ObjectOutputStream;
import java.io.OutputStream; import java.io.OutputStream;
import java.io.IOException;
import java.rmi.server.RMIClassLoader;
import java.rmi.Remote; import java.rmi.Remote;
import java.rmi.server.RemoteStub; import java.rmi.server.RemoteStub;
import java.rmi.server.ObjID; import java.rmi.server.RMIClassLoader;
public class RMIObjectOutputStream public class RMIObjectOutputStream
extends ObjectOutputStream { extends ObjectOutputStream {
......
/* /* UnicastConnection.java --
Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2002, 2004
Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -35,19 +36,17 @@ this exception to your version of the library, but you are not ...@@ -35,19 +36,17 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */ exception statement from your version. */
package gnu.java.rmi.server; package gnu.java.rmi.server;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.DataInputStream; import java.io.DataInputStream;
import java.io.DataOutputStream; import java.io.DataOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream; import java.io.ObjectInputStream;
import java.io.ObjectOutputStream; import java.io.ObjectOutputStream;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.ObjectOutput;
import java.io.ObjectInput;
import java.io.IOException;
import java.net.Socket; import java.net.Socket;
import java.net.ServerSocket;
import java.rmi.RemoteException; import java.rmi.RemoteException;
public class UnicastConnection public class UnicastConnection
......
...@@ -36,29 +36,29 @@ this exception to your version of the library, but you are not ...@@ -36,29 +36,29 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */ exception statement from your version. */
package gnu.java.rmi.server; package gnu.java.rmi.server;
import java.rmi.server.RMISocketFactory; import gnu.java.rmi.server.RMIIncomingThread;
import java.rmi.server.RMIServerSocketFactory; import gnu.java.rmi.server.UnicastConnection;
import java.rmi.server.RMIClientSocketFactory;
import java.rmi.RemoteException;
import java.io.IOException; import java.io.IOException;
import java.io.ObjectOutput; import java.io.ObjectOutput;
import java.io.ObjectInput; import java.io.ObjectInput;
import java.io.DataInputStream;
import java.net.InetAddress; import java.net.InetAddress;
import java.net.Socket; import java.net.Socket;
import java.net.ServerSocket; import java.net.ServerSocket;
import java.net.UnknownHostException; import java.net.UnknownHostException;
import java.rmi.RemoteException;
import java.rmi.server.RMISocketFactory;
import java.rmi.server.RMIServerSocketFactory;
import java.rmi.server.RMIClientSocketFactory;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.ConcurrentModificationException; import java.util.ConcurrentModificationException;
import java.util.Enumeration; import java.util.Enumeration;
import java.util.Hashtable; import java.util.Hashtable;
import java.util.Iterator; import java.util.Iterator;
import gnu.java.rmi.server.UnicastConnection;
import gnu.java.rmi.server.RMIIncomingThread;
public class UnicastConnectionManager public class UnicastConnectionManager
implements Runnable, ProtocolConstants { implements Runnable, ProtocolConstants {
......
/* UnicastRemoteCall.java /* UnicastRemoteCall.java
Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -35,22 +35,21 @@ this exception to your version of the library, but you are not ...@@ -35,22 +35,21 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */ exception statement from your version. */
package gnu.java.rmi.server; package gnu.java.rmi.server;
import java.io.DataInputStream; import java.io.DataInputStream;
import java.io.DataOutputStream; import java.io.DataOutputStream;
import java.io.IOException; import java.io.IOException;
import java.io.ObjectOutput;
import java.io.ObjectInput; import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.io.StreamCorruptedException; import java.io.StreamCorruptedException;
import java.rmi.server.RemoteCall;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import java.rmi.MarshalException; import java.rmi.MarshalException;
import java.rmi.UnmarshalException; import java.rmi.UnmarshalException;
import java.rmi.server.UID; import java.rmi.server.RemoteCall;
import java.rmi.server.ObjID; import java.rmi.server.ObjID;
import java.rmi.server.RemoteObject; import java.rmi.server.UID;
import java.util.Vector; import java.util.Vector;
public class UnicastRemoteCall public class UnicastRemoteCall
......
/* /* UnicastServer.java --
Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2002, 2004
Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -35,25 +36,22 @@ this exception to your version of the library, but you are not ...@@ -35,25 +36,22 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */ exception statement from your version. */
package gnu.java.rmi.server; package gnu.java.rmi.server;
import java.io.DataInputStream; import gnu.java.rmi.dgc.DGCImpl;
import java.io.DataOutputStream; import java.io.DataOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream; import java.io.ObjectInputStream;
import java.io.ObjectOutputStream; import java.io.ObjectOutputStream;
import java.io.IOException; import java.rmi.NoSuchObjectException;
import java.net.InetAddress;
import java.util.Hashtable;
import java.net.UnknownHostException;
import java.rmi.Remote; import java.rmi.Remote;
import java.rmi.RemoteException;
import java.rmi.ServerError; import java.rmi.ServerError;
import java.rmi.server.ObjID; import java.rmi.server.ObjID;
import java.rmi.server.UnicastRemoteObject;
import java.rmi.server.UID; import java.rmi.server.UID;
import java.rmi.server.RemoteRef; import java.util.Hashtable;
import java.rmi.RemoteException;
import java.rmi.NoSuchObjectException;
import gnu.java.rmi.dgc.DGCImpl;
public class UnicastServer public class UnicastServer
implements ProtocolConstants { implements ProtocolConstants {
......
...@@ -36,12 +36,13 @@ this exception to your version of the library, but you are not ...@@ -36,12 +36,13 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */ exception statement from your version. */
package gnu.java.rmi.server; package gnu.java.rmi.server;
import java.net.ServerSocket; import java.io.ObjectInputStream;
import java.net.Socket; import java.lang.reflect.Constructor;
import java.net.InetAddress; import java.lang.reflect.Method;
import java.net.UnknownHostException; import java.lang.reflect.InvocationTargetException;
import java.rmi.Remote; import java.rmi.Remote;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import java.rmi.server.RemoteStub; import java.rmi.server.RemoteStub;
...@@ -50,21 +51,8 @@ import java.rmi.server.ServerRef; ...@@ -50,21 +51,8 @@ import java.rmi.server.ServerRef;
import java.rmi.server.RemoteServer; import java.rmi.server.RemoteServer;
import java.rmi.server.RemoteRef; import java.rmi.server.RemoteRef;
import java.rmi.server.ServerNotActiveException; import java.rmi.server.ServerNotActiveException;
import java.rmi.server.RMIClientSocketFactory;
import java.rmi.server.RMIServerSocketFactory; import java.rmi.server.RMIServerSocketFactory;
import java.rmi.server.UID;
import java.rmi.server.Skeleton; import java.rmi.server.Skeleton;
import java.rmi.server.RemoteCall;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import java.lang.reflect.InvocationTargetException;
import java.io.IOException;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.util.Hashtable; import java.util.Hashtable;
public class UnicastServerRef public class UnicastServerRef
......
/* /* MarshalledObject.java --
Copyright (c) 1996, 1997, 1998, 1999, 2004 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -37,18 +37,16 @@ exception statement from your version. */ ...@@ -37,18 +37,16 @@ exception statement from your version. */
package java.rmi; package java.rmi;
import java.io.Serializable;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import gnu.java.rmi.RMIMarshalledObjectInputStream; import gnu.java.rmi.RMIMarshalledObjectInputStream;
import gnu.java.rmi.RMIMarshalledObjectOutputStream; import gnu.java.rmi.RMIMarshalledObjectOutputStream;
import java.io.ByteArrayOutputStream;
import java.io.Serializable;
/** /**
* FIXME - doc missing * FIXME - doc missing
*/ */
public final class MarshalledObject implements Serializable public final class MarshalledObject implements Serializable
{ {
//The following fields are from Java API Documentation "Serialized form" //The following fields are from Java API Documentation "Serialized form"
private static final long serialVersionUID = 8988374069173025854L; private static final long serialVersionUID = 8988374069173025854L;
byte[] objBytes; byte[] objBytes;
......
/* /* Naming.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* RMISecurityManager.java --
Copyright (c) 1996, 1997, 1998, 1999, 2003 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2003 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* Remote.java
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* Activatable.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* ActivationDecc.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* ActivationGroup.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* ActivationGroupDesc.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* ActivationGroupID.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* ActivationID.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* ActivationInstantiator.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* ActivationMonitor.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* ActivationSystem.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. i Copyright (c) 1996, 1997, 1998, 1999, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* Activator.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* DGC.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* Lease.java
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -38,7 +38,6 @@ exception statement from your version. */ ...@@ -38,7 +38,6 @@ exception statement from your version. */
package java.rmi.dgc; package java.rmi.dgc;
import java.io.Serializable; import java.io.Serializable;
import java.rmi.dgc.VMID;
public final class Lease public final class Lease
implements Serializable { implements Serializable {
......
/* /* VMID.java
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* LocateRegistry.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -37,17 +37,14 @@ exception statement from your version. */ ...@@ -37,17 +37,14 @@ exception statement from your version. */
package java.rmi.registry; package java.rmi.registry;
import java.io.IOException;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import java.rmi.server.RMIClientSocketFactory; import java.rmi.server.RMIClientSocketFactory;
import java.rmi.server.RMIServerSocketFactory; import java.rmi.server.RMIServerSocketFactory;
import java.rmi.server.RMISocketFactory; import java.rmi.server.RMISocketFactory;
import java.rmi.server.RemoteRef; import java.rmi.server.RemoteRef;
import java.rmi.server.ObjID; import java.rmi.server.ObjID;
import java.net.Socket;
import gnu.java.rmi.server.UnicastRef; import gnu.java.rmi.server.UnicastRef;
import gnu.java.rmi.server.UnicastServerRef;
import gnu.java.rmi.registry.RegistryImpl; import gnu.java.rmi.registry.RegistryImpl;
import gnu.java.rmi.registry.RegistryImpl_Stub; import gnu.java.rmi.registry.RegistryImpl_Stub;
......
/* /* Registry.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* RegistryHandler.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* LoaderHandler.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* LogStream.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -39,7 +39,6 @@ package java.rmi.server; ...@@ -39,7 +39,6 @@ package java.rmi.server;
import java.io.PrintStream; import java.io.PrintStream;
import java.io.OutputStream; import java.io.OutputStream;
import java.io.IOException;
/** /**
* @deprecated * @deprecated
......
/* /* ObjID.java
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -41,10 +41,8 @@ import java.io.Serializable; ...@@ -41,10 +41,8 @@ import java.io.Serializable;
import java.io.ObjectOutput; import java.io.ObjectOutput;
import java.io.ObjectInput; import java.io.ObjectInput;
import java.io.IOException; import java.io.IOException;
import java.lang.Math;
import java.io.DataInput; import java.io.DataInput;
import java.io.DataOutput; import java.io.DataOutput;
import java.util.Random;
public final class ObjID public final class ObjID
implements Serializable { implements Serializable {
......
/* /* Operation.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* RMIClassLoader.java /* RMIClassLoader.java --
Copyright (c) 1996, 1997, 1998, 1999, 2002, 2003 Copyright (c) 1996, 1997, 1998, 1999, 2002, 2003
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* RMIClassLoaderSpi.java /* RMIClassLoaderSpi.java --
Copyright (c) 2002 Free Software Foundation, Inc. Copyright (c) 2002 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* RMIClientSocketFactory.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* RMIFailureHandler.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* RMIServerSocketFactory.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* RMISocketFactory.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* RemoteCall.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -37,7 +37,6 @@ exception statement from your version. */ ...@@ -37,7 +37,6 @@ exception statement from your version. */
package java.rmi.server; package java.rmi.server;
import java.lang.Exception;
import java.io.IOException; import java.io.IOException;
import java.io.ObjectOutput; import java.io.ObjectOutput;
import java.io.ObjectInput; import java.io.ObjectInput;
......
/* /* RemoteObject.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -37,18 +37,14 @@ exception statement from your version. */ ...@@ -37,18 +37,14 @@ exception statement from your version. */
package java.rmi.server; package java.rmi.server;
import java.io.Serializable; import java.io.IOException;
import java.rmi.Remote;
import java.rmi.NoSuchObjectException;
import java.rmi.UnmarshalException;
import java.rmi.server.RemoteRef;
import java.io.ObjectInputStream; import java.io.ObjectInputStream;
import java.io.ObjectOutputStream; import java.io.ObjectOutputStream;
import java.io.IOException; import java.io.Serializable;
import java.lang.ClassNotFoundException;
import java.lang.InstantiationException;
import java.lang.IllegalAccessException;
import java.lang.reflect.Constructor; import java.lang.reflect.Constructor;
import java.rmi.NoSuchObjectException;
import java.rmi.Remote;
import java.rmi.UnmarshalException;
public abstract class RemoteObject public abstract class RemoteObject
implements Remote, Serializable { implements Remote, Serializable {
......
/* /* RemoteRef.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -35,13 +35,14 @@ this exception to your version of the library, but you are not ...@@ -35,13 +35,14 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */ exception statement from your version. */
package java.rmi.server; package java.rmi.server;
import java.lang.reflect.Method;
import java.io.Externalizable; import java.io.Externalizable;
import java.io.ObjectOutput;
import java.lang.reflect.Method;
import java.rmi.Remote; import java.rmi.Remote;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import java.io.ObjectOutput;
public interface RemoteRef extends Externalizable public interface RemoteRef extends Externalizable
{ {
......
/* /* RemoteServer.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* RemoteStub.java --
Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* ServerRef.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* Skeleton.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -38,7 +38,6 @@ exception statement from your version. */ ...@@ -38,7 +38,6 @@ exception statement from your version. */
package java.rmi.server; package java.rmi.server;
import java.rmi.Remote; import java.rmi.Remote;
import java.rmi.server.RemoteCall;
/** /**
* @deprecated * @deprecated
......
/* SkeletonMismatchException.java -- thrown when stub class versions mismatch /* SkeletonMismatchException.java -- thrown when stub class versions mismatch
Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
/* /* UID.java --
Copyright (c) 1996, 1997, 1998, 1999, 2004 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -37,17 +37,13 @@ exception statement from your version. */ ...@@ -37,17 +37,13 @@ exception statement from your version. */
package java.rmi.server; package java.rmi.server;
import java.io.Serializable;
import java.io.DataOutput; import java.io.DataOutput;
import java.io.DataInput; import java.io.DataInput;
import java.io.IOException; import java.io.IOException;
import java.util.Random; import java.io.Serializable;
import java.lang.Thread;
import java.lang.InterruptedException;
public final class UID
implements Serializable {
public final class UID implements Serializable
{
public static final long serialVersionUID = 1086053664494604050L; public static final long serialVersionUID = 1086053664494604050L;
private static final Object lock = UID.class; private static final Object lock = UID.class;
......
/* /* UnicastRemoteObject.java --
Copyright (c) 1996, 1997, 1998, 1999, 2002, 2003 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999, 2002, 2003 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -40,14 +40,11 @@ package java.rmi.server; ...@@ -40,14 +40,11 @@ package java.rmi.server;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import java.rmi.Remote; import java.rmi.Remote;
import java.rmi.server.RemoteRef;
import java.rmi.NoSuchObjectException; import java.rmi.NoSuchObjectException;
import gnu.java.rmi.server.UnicastServerRef; import gnu.java.rmi.server.UnicastServerRef;
import gnu.java.rmi.server.UnicastServer;
public class UnicastRemoteObject
extends RemoteServer {
public class UnicastRemoteObject extends RemoteServer
{
private static final long serialVersionUID = 4974527148936298033L; private static final long serialVersionUID = 4974527148936298033L;
//The following serialized fields are from Java API Documentation "Serialized form" //The following serialized fields are from Java API Documentation "Serialized form"
private int port = 0; private int port = 0;
......
/* /* Unreferenced.java --
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment