/[classpath]/classpath/java/io/ObjectInputStream.java
ViewVC logotype

Diff of /classpath/java/io/ObjectInputStream.java

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

revision 1.69 by mark, Wed Oct 12 19:41:42 2005 UTC revision 1.70 by jfrijters, Tue Oct 18 08:03:31 2005 UTC
# Line 221  public class ObjectInputStream extends I Line 221  public class ObjectInputStream extends I
221            for (int i = 0; i < n_intf; i++)            for (int i = 0; i < n_intf; i++)
222              {              {
223                intfs[i] = this.realInputStream.readUTF();                intfs[i] = this.realInputStream.readUTF();
               System.out.println(intfs[i]);  
224              }              }
225                        
226            boolean oldmode = setBlockDataMode(true);            boolean oldmode = setBlockDataMode(true);
# Line 229  public class ObjectInputStream extends I Line 228  public class ObjectInputStream extends I
228            setBlockDataMode(oldmode);            setBlockDataMode(oldmode);
229                        
230            ObjectStreamClass osc = lookupClass(cl);            ObjectStreamClass osc = lookupClass(cl);
231              if (osc.firstNonSerializableParentConstructor == null)
232                {
233                  osc.realClassIsSerializable = true;
234                  osc.fields = osc.fieldMapping = new ObjectStreamField[0];
235                  try
236                    {
237                      osc.firstNonSerializableParentConstructor =
238                        Object.class.getConstructor(new Class[0]);
239                    }
240                  catch (NoSuchMethodException x)
241                    {
242                      throw (InternalError)
243                        new InternalError("Object ctor missing").initCause(x);
244                    }
245                }
246            assignNewHandle(osc);            assignNewHandle(osc);
247                        
248            if (!is_consumed)            if (!is_consumed)

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70

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