diff options
Diffstat (limited to 'libjava/java/rmi/server/UnicastRemoteObject.java')
-rw-r--r-- | libjava/java/rmi/server/UnicastRemoteObject.java | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/libjava/java/rmi/server/UnicastRemoteObject.java b/libjava/java/rmi/server/UnicastRemoteObject.java index a9c4f35099c..aefe9701ecd 100644 --- a/libjava/java/rmi/server/UnicastRemoteObject.java +++ b/libjava/java/rmi/server/UnicastRemoteObject.java @@ -1,5 +1,5 @@ /* - Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -67,16 +67,12 @@ protected UnicastRemoteObject(int port, RMIClientSocketFactory csf, RMIServerSoc //this.csf = csf; //this.ssf = ssf; this.ref = new UnicastServerRef(new ObjID(), port, ssf); - //Should we export it here? - // if we export, we got infinite recursive call: - // UnicastRemoteObject.<init>->...->UnicastServer.startDGC()->UnicastRemoteObject.<init>->... - //exportObject(this); + exportObject(this); } protected UnicastRemoteObject(RemoteRef ref) throws RemoteException { super((UnicastServerRef)ref); - //Should we export it here? - //exportObject(this); + exportObject(this); } public Object clone() throws CloneNotSupportedException { |