blockUnmarshaller.readToEndBlockData();
blockUnmarshaller.unblock();
} else { // typeid == ID_SERIALIZABLE_CLASS
// no user data to read - mark the OIS so that it calls endOfBlock after reading fields!
objectInputStream.noCustomData();
if (obj != null) info.callReadObject(obj, objectInputStream);
objectInputStream.finish(restoreState);
blockUnmarshaller.restore(objectInputStream.getRestoreIdx());
}
objectInputStream.swapCurrent(oldObj);
objectInputStream.swapClass(oldDescriptor);