/[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.43.2.2 by gnu_andrew, Fri Jan 14 10:24:15 2005 UTC revision 1.43.2.3 by gnu_andrew, Sat Jan 15 17:01:51 2005 UTC
# Line 334  public class ObjectInputStream extends I Line 334  public class ObjectInputStream extends I
334                        if(dump) dumpElement("ENDBLOCKDATA? ");                        if(dump) dumpElement("ENDBLOCKDATA? ");
335                        try                        try
336                          {                          {
337                            // FIXME: XXX: This try block is to catch EOF which is                            // FIXME: XXX: This try block is to
338                            // thrown for some objects.  That indicates a bug in the logic.                            // catch EOF which is thrown for some
339                              // objects.  That indicates a bug in
340                              // the logic.
341    
342                            if (this.realInputStream.readByte() != TC_ENDBLOCKDATA)                            if (this.realInputStream.readByte() != TC_ENDBLOCKDATA)
343                              throw new IOException                              throw new IOException
344                                ("No end of block data seen for class with readObject (ObjectInputStream) method.");                                ("No end of block data seen for class with readObject (ObjectInputStream) method.");
# Line 1109  public class ObjectInputStream extends I Line 1112  public class ObjectInputStream extends I
1112     *     *
1113     * XXX: finish up comments     * XXX: finish up comments
1114     */     */
1115    public static abstract class GetField    public abstract static class GetField
1116    {    {
1117      public abstract ObjectStreamClass getObjectStreamClass();      public abstract ObjectStreamClass getObjectStreamClass();
1118    
# Line 1854  public class ObjectInputStream extends I Line 1857  public class ObjectInputStream extends I
1857    private Hashtable<Class,ObjectStreamClass> classLookupTable;    private Hashtable<Class,ObjectStreamClass> classLookupTable;
1858    private GetField prereadFields;    private GetField prereadFields;
1859    
1860    private static boolean dump = false && Configuration.DEBUG;    private static boolean dump;
1861    
1862    // The nesting depth for debugging output    // The nesting depth for debugging output
1863    private int depth = 0;    private int depth = 0;

Legend:
Removed from v.1.43.2.2  
changed lines
  Added in v.1.43.2.3

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