< prev index next >

src/java.base/share/classes/java/io/ObjectStreamClass.java

Print this page




 155     }
 156 
 157     /** exception (if any) thrown while attempting to resolve class */
 158     private ClassNotFoundException resolveEx;
 159     /** exception (if any) to throw if non-enum deserialization attempted */
 160     private ExceptionInfo deserializeEx;
 161     /** exception (if any) to throw if non-enum serialization attempted */
 162     private ExceptionInfo serializeEx;
 163     /** exception (if any) to throw if default serialization attempted */
 164     private ExceptionInfo defaultSerializeEx;
 165 
 166     /** serializable fields */
 167     private ObjectStreamField[] fields;
 168     /** aggregate marshalled size of primitive fields */
 169     private int primDataSize;
 170     /** number of non-primitive fields */
 171     private int numObjFields;
 172     /** reflector for setting/getting serializable field values */
 173     private FieldReflector fieldRefl;
 174     /** data layout of serialized objects described by this class desc */
 175     private volatile ClassDataSlot[] dataLayout;
 176 
 177     /** serialization-appropriate constructor, or null if none */
 178     private Constructor<?> cons;
 179     /** class-defined writeObject method, or null if none */
 180     private Method writeObjectMethod;
 181     /** class-defined readObject method, or null if none */
 182     private Method readObjectMethod;
 183     /** class-defined readObjectNoData method, or null if none */
 184     private Method readObjectNoDataMethod;
 185     /** class-defined writeReplace method, or null if none */
 186     private Method writeReplaceMethod;
 187     /** class-defined readResolve method, or null if none */
 188     private Method readResolveMethod;
 189 
 190     /** local class descriptor for represented class (may point to self) */
 191     private ObjectStreamClass localDesc;
 192     /** superclass descriptor appearing in stream */
 193     private ObjectStreamClass superDesc;
 194 
 195     /** true if, and only if, the object has been correctly initialized */




 155     }
 156 
 157     /** exception (if any) thrown while attempting to resolve class */
 158     private ClassNotFoundException resolveEx;
 159     /** exception (if any) to throw if non-enum deserialization attempted */
 160     private ExceptionInfo deserializeEx;
 161     /** exception (if any) to throw if non-enum serialization attempted */
 162     private ExceptionInfo serializeEx;
 163     /** exception (if any) to throw if default serialization attempted */
 164     private ExceptionInfo defaultSerializeEx;
 165 
 166     /** serializable fields */
 167     private ObjectStreamField[] fields;
 168     /** aggregate marshalled size of primitive fields */
 169     private int primDataSize;
 170     /** number of non-primitive fields */
 171     private int numObjFields;
 172     /** reflector for setting/getting serializable field values */
 173     private FieldReflector fieldRefl;
 174     /** data layout of serialized objects described by this class desc */
 175     private ClassDataSlot[] dataLayout;
 176 
 177     /** serialization-appropriate constructor, or null if none */
 178     private Constructor<?> cons;
 179     /** class-defined writeObject method, or null if none */
 180     private Method writeObjectMethod;
 181     /** class-defined readObject method, or null if none */
 182     private Method readObjectMethod;
 183     /** class-defined readObjectNoData method, or null if none */
 184     private Method readObjectNoDataMethod;
 185     /** class-defined writeReplace method, or null if none */
 186     private Method writeReplaceMethod;
 187     /** class-defined readResolve method, or null if none */
 188     private Method readResolveMethod;
 189 
 190     /** local class descriptor for represented class (may point to self) */
 191     private ObjectStreamClass localDesc;
 192     /** superclass descriptor appearing in stream */
 193     private ObjectStreamClass superDesc;
 194 
 195     /** true if, and only if, the object has been correctly initialized */


< prev index next >