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

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

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

revision 1.3 by audriusa, Tue Oct 4 17:58:15 2005 UTC revision 1.4 by audriusa, Sun Oct 23 10:37:48 2005 UTC
# Line 757  public class gnuRmiUtil Line 757  public class gnuRmiUtil
757    
758      if (object == null)      if (object == null)
759        object = instantiate(offset, clz, g);        object = instantiate(offset, clz, g);
760        
761        // The sentence below prevents attempt to read the internal fields of the
762        // ObjectImpl (or RMI Stub) that might follow the object definition.
763        // Sun's jre 1.5 does not write this information. The stubs, generated
764        // by rmic, does not contain such fields.
765        if (object instanceof ObjectImpl)
766          return object;
767    
768      if (object instanceof Externalizable)      if (object instanceof Externalizable)
769        {        {

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