code: private static void checkedSetSuperClassDesc(ObjectStreamClass desc,
              ObjectStreamClass superDesc) throws StreamCorruptedException {
          if (desc.equals(superDesc)) {
              throw new StreamCorruptedException();
          }
          desc.setSuperclass(superDesc);
      }
docs: Avoid recursive defining.