setObjectWritable(objectWritable, ShortVoid.class, ShortVoid.instance);
return ShortVoid.instance;
}
// handle fast writable objects first
FastWritable fwInstance = FastWritableRegister.tryGetInstance(className,
conf);
if (fwInstance != null) {
fwInstance.readFields(in);
setObjectWritable(objectWritable, fwInstance.getClass(), fwInstance);
return fwInstance;
}
Class<?> declaredClass = getClassWithCaching(className, conf);