/[classpath]/classpath/gnu/javax/rmi/CORBA/StubDelegateImpl.java
ViewVC logotype

Diff of /classpath/gnu/javax/rmi/CORBA/StubDelegateImpl.java

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

revision 1.7 by audriusa, Thu Oct 13 20:58:54 2005 UTC revision 1.8 by audriusa, Fri Oct 28 13:01:52 2005 UTC
# Line 40  package gnu.javax.rmi.CORBA; Line 40  package gnu.javax.rmi.CORBA;
40    
41  import gnu.CORBA.ObjectCreator;  import gnu.CORBA.ObjectCreator;
42  import gnu.CORBA.Unexpected;  import gnu.CORBA.Unexpected;
43  import gnu.CORBA.CDR.cdrBufInput;  import gnu.CORBA.CDR.BufferredCdrInput;
44  import gnu.CORBA.CDR.cdrBufOutput;  import gnu.CORBA.CDR.BufferedCdrOutput;
45    
46  import java.io.IOException;  import java.io.IOException;
47  import java.io.ObjectInputStream;  import java.io.ObjectInputStream;
# Line 272  public class StubDelegateImpl Line 272  public class StubDelegateImpl
272      throws IOException, ClassNotFoundException      throws IOException, ClassNotFoundException
273    {    {
274      byte[] b = (byte[]) input.readObject();      byte[] b = (byte[]) input.readObject();
275      cdrBufInput in = new cdrBufInput(b);      BufferredCdrInput in = new BufferredCdrInput(b);
276    
277      if (orb != null)      if (orb != null)
278        in.setOrb(orb);        in.setOrb(orb);
# Line 301  public class StubDelegateImpl Line 301  public class StubDelegateImpl
301    public void writeObject(Stub self, ObjectOutputStream output, ORB orb)    public void writeObject(Stub self, ObjectOutputStream output, ORB orb)
302      throws IOException      throws IOException
303    {    {
304      cdrBufOutput out = new cdrBufOutput();      BufferedCdrOutput out = new BufferedCdrOutput();
305      out.setOrb(orb == null ? self._orb() : orb);      out.setOrb(orb == null ? self._orb() : orb);
306      out.write_Object(self);      out.write_Object(self);
307    

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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