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

BC: DOC: BeanContextSupport.writeChildren() spec is unclear

XMLWordPrintable

    • sparc
    • solaris_2.6

      Name: ooR10001 Date: 05/05/2000



      java.beans.beancontext.BeanContextSupport.writeChildren() doc is unclear.
      There is a description that this procedure is used for serialization,
      but says nothing about how this procedure must work. It causes a problem when
      creating test for serialization - it is unclear how to correctly write object
      to a stream.

      The javadoc says:

      writeChildren

      public final void writeChildren(ObjectOutputStream oos)
                               throws IOException

            Used to serialize all children of this BeanContext.
            Parameters:
                  oos - the ObjectOutputStream to use during serialization
            Throws:
                  IOException - if serialization failed
      -------------------------------------------------------------
      ======================================================================

            malenkov Sergey Malenkov (Inactive)
            oovsunw Oov Oov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: