/** {@inheritDoc} */
 @Override
 protected ObjectStreamClass readClassDescriptor() throws IOException, ClassNotFoundException {
   // We must use lookupAny because not all classes can be Serializable.
   return ObjectStreamClass.lookupAny(readClass());
 }