ObjectOutputStream.writeObjectOverride(), ObjectInputStream.readObjectOverride() javadoc issues

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 5.0
    • Component/s: core-libs
    • None

      The ObjectOutputStream.writeObjectOverride() method incorrectly refers to ObjectInputStream instead of ObjectOutputStream. Moreover the documentation is unclear about the usage of the method. The method is invoked by the superclass writeObject implementation in the event that the subclass instance was created using the no-arg constructor of ObjectOutputStream. Similar comment applies for ObjectInputStream.

      Additionally, ObjectStreamConstants.SUBCLASS_IMPLEMENTATION_PERMISSION documentation ought to include putFields, readFields, writeUnshared and readUnshared methods.

            Assignee:
            Joe Darcy
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: