code: private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {
      in.defaultReadObject();
  
      try {
        serialization = serializationClass.newInstance();
      } catch (IllegalAccessException | InstantiationException e) {
        throw new RuntimeException(
            "Failed to deserialize " + HadoopSerializationCoder.class.getSimpleName());
      }
    }
docs: Populate a possibly unserializable serialization instance.