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

Diff of /classpath/java/io/ObjectStreamConstants.java

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

revision 1.10 by mark, Thu Nov 7 16:09:40 2002 UTC revision 1.11 by arenn, Sun Apr 6 20:43:57 2003 UTC
# Line 1  Line 1 
1  /* ObjectStreamConstants.java -- Interface containing constant values  /* ObjectStreamConstants.java -- Interface containing constant values
2     used in reading and writing serialized objects     used in reading and writing serialized objects
3     Copyright (C) 1998, 1999 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2003 Free Software Foundation, Inc.
4    
5  This file is part of GNU Classpath.  This file is part of GNU Classpath.
6    
# Line 40  exception statement from your version. * Line 40  exception statement from your version. *
40  package java.io;  package java.io;
41    
42  /**  /**
43     This interface contains constants that are used in object   * This interface contains constants that are used in object
44     serialization.  This interface is used by ObjectOutputStream,   * serialization.  This interface is used by <code>ObjectOutputStream</code>,
45     ObjectInputStream, ObjectStreamClass, and possibly other classes.   * <code>ObjectInputStream</code>, and <code>ObjectStreamClass</code>.
46     The values for these constants are specified in Javasoft's "Object   * The values for these constants are specified by the Java library
47     Serialization Specification" TODO: add reference   * specification.
48  */   */
49  public interface ObjectStreamConstants  public interface ObjectStreamConstants
50  {  {
51      // FIXME: Javadoc comment these values.
52    public final static int PROTOCOL_VERSION_1 = 1;    public final static int PROTOCOL_VERSION_1 = 1;
53    public final static int PROTOCOL_VERSION_2 = 2;    public final static int PROTOCOL_VERSION_2 = 2;
54    
# Line 85  public interface ObjectStreamConstants Line 86  public interface ObjectStreamConstants
86    final static SerializablePermission SUBCLASS_IMPLEMENTATION_PERMISSION    final static SerializablePermission SUBCLASS_IMPLEMENTATION_PERMISSION
87      = new SerializablePermission("enableSubclassImplementation");      = new SerializablePermission("enableSubclassImplementation");
88  }  }
89    

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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