/[classpath]/classpath/java/rmi/server/UnicastRemoteObject.java
ViewVC logotype

Diff of /classpath/java/rmi/server/UnicastRemoteObject.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by cbj, Mon Mar 25 05:12:19 2002 UTC revision 1.4 by mark, Thu Oct 31 18:35:23 2002 UTC
# Line 1  Line 1 
1  /*  /*
2    Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.    Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 67  protected UnicastRemoteObject(int port, Line 67  protected UnicastRemoteObject(int port,
67    //this.csf = csf;    //this.csf = csf;
68    //this.ssf = ssf;    //this.ssf = ssf;
69    this.ref = new UnicastServerRef(new ObjID(), port, ssf);    this.ref = new UnicastServerRef(new ObjID(), port, ssf);
70    //Should we export it here?    exportObject(this);
   // if we export, we got infinite recursive call:  
   //  UnicastRemoteObject.<init>->...->UnicastServer.startDGC()->UnicastRemoteObject.<init>->...  
   //exportObject(this);  
71  }  }
72    
73  protected UnicastRemoteObject(RemoteRef ref) throws RemoteException {  protected UnicastRemoteObject(RemoteRef ref) throws RemoteException {
74          super((UnicastServerRef)ref);          super((UnicastServerRef)ref);
75         //Should we export it here?          exportObject(this);
        //exportObject(this);  
76  }  }
77    
78  public Object clone() throws CloneNotSupportedException {  public Object clone() throws CloneNotSupportedException {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26