public void defaultReadObject() throws IOException, ClassNotFoundException { int old = getAndSet(ON); switch (old) { case UNREAD_FIELDS: case UNREAD_FIELDS_EOB: break; default: throw new NotActiveException("readFields() may only be called when the fields have not yet been read"); } try { unmarshaller.readFields(current, serializableClassDescriptor, false); if (old == UNREAD_FIELDS_EOB) { restoreIdx = blockUnmarshaller.tempEndOfStream(); } } finally { serializableClassDescriptor = null; current = null; } }
readFields(obj, descriptor, discardMissing); } else { discardFields(descriptor);
public void defaultReadObject() throws IOException, ClassNotFoundException { State old = state.getAndSet(State.ON); switch (old) { case UNREAD_FIELDS: case UNREAD_FIELDS_EOB: break; default: throw new NotActiveException("readFields() may only be called when the fields have not yet been read"); } try { unmarshaller.readFields(current, serializableClassDescriptor); if (old == State.UNREAD_FIELDS_EOB) { restoreIdx = blockUnmarshaller.tempEndOfStream(); } } finally { serializableClassDescriptor = null; current = null; } }
public void defaultReadObject() throws IOException, ClassNotFoundException { int old = getAndSet(ON); switch (old) { case UNREAD_FIELDS: case UNREAD_FIELDS_EOB: break; default: throw new NotActiveException("readFields() may only be called when the fields have not yet been read"); } try { unmarshaller.readFields(current, serializableClassDescriptor, false); if (old == UNREAD_FIELDS_EOB) { restoreIdx = blockUnmarshaller.tempEndOfStream(); } } finally { serializableClassDescriptor = null; current = null; } }
public void defaultReadObject() throws IOException, ClassNotFoundException { int old = getAndSet(ON); switch (old) { case UNREAD_FIELDS: case UNREAD_FIELDS_EOB: break; default: throw new NotActiveException("readFields() may only be called when the fields have not yet been read"); } try { unmarshaller.readFields(current, serializableClassDescriptor, false); if (old == UNREAD_FIELDS_EOB) { restoreIdx = blockUnmarshaller.tempEndOfStream(); } } finally { serializableClassDescriptor = null; current = null; } }
public void defaultReadObject() throws IOException, ClassNotFoundException { int old = getAndSet(ON); switch (old) { case UNREAD_FIELDS: case UNREAD_FIELDS_EOB: break; default: throw new NotActiveException("readFields() may only be called when the fields have not yet been read"); } try { unmarshaller.readFields(current, serializableClassDescriptor, false); if (old == UNREAD_FIELDS_EOB) { restoreIdx = blockUnmarshaller.tempEndOfStream(); } } finally { serializableClassDescriptor = null; current = null; } }
public void defaultReadObject() throws IOException, ClassNotFoundException { int old = getAndSet(ON); switch (old) { case UNREAD_FIELDS: case UNREAD_FIELDS_EOB: break; default: throw new NotActiveException("readFields() may only be called when the fields have not yet been read"); } try { unmarshaller.readFields(current, serializableClassDescriptor, false); if (old == UNREAD_FIELDS_EOB) { restoreIdx = blockUnmarshaller.tempEndOfStream(); } } finally { serializableClassDescriptor = null; current = null; } }
public void defaultReadObject() throws IOException, ClassNotFoundException { int old = getAndSet(ON); switch (old) { case UNREAD_FIELDS: case UNREAD_FIELDS_EOB: break; default: throw new NotActiveException("readFields() may only be called when the fields have not yet been read"); } try { unmarshaller.readFields(current, serializableClassDescriptor, false); if (old == UNREAD_FIELDS_EOB) { restoreIdx = blockUnmarshaller.tempEndOfStream(); } } finally { serializableClassDescriptor = null; current = null; } }
readFields(obj, descriptor); if (typeId == ID_WRITE_OBJECT_CLASS) {
readFields(obj, descriptor, discardMissing); } else { discardFields(descriptor);
readFields(obj, descriptor, discardMissing); } else { discardFields(descriptor);
readFields(obj, descriptor, discardMissing); } else { discardFields(descriptor);
readFields(obj, descriptor, discardMissing); } else { discardFields(descriptor);
readFields(obj, descriptor, discardMissing); } else { discardFields(descriptor);