Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4770063

stddoclet: generate doc for readObjectNoData() in serialized form page

XMLWordPrintable

    • b32
    • generic
    • generic

      Javadoc currently generates documentation on the serialized form page for
      custom writeObject() and readObject() methods declared by a serializable class.
      In JDK 1.4, support was added for an additional custom serialization method,
      readObjectNoData(), which is used in some cases to initialize superclass state
      if the serialization stream lacks data for that superclass (for details, see
      the class-level javadoc for java.io.ObjectInputStream, as well as section 3.5
      of the latest serialization specification).

      It would be useful if javadoc could generate documentation for
      readObjectNoData() on the serialized form page in the same way that it
      currently does for writeObject() and readObject(). This would allow
      serializable classes to document their initial state in the event that they are
      deserialized from a stream that's missing superclass data.

            jhosunw Jamie Ho (Inactive)
            mwarressunw Michael Warres (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: