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

java.awt.datatransfer.DataFlavor spec is unclear

XMLWordPrintable

    • sparc
    • solaris_2.6



      Name: ooR10001 Date: 04/19/2000


      The javadoc says nothing about java.awt.datatransfer.DataFlavor.readExternal()
      and writeExternal() methods implementation. There is no information at all about
      the stream structure.

      The javadoc should specify the stream structure used by these methods to
      ensure that all java implementations use the same structure.

      It is impossible to write a JCK test for externalization of
      java.awt.datatransfer.DataFlavor based on the not existing doc.

      This is the current javadoc (jdk kestrel):
      -------------------------------------------------------------
      Class java.awt.datatransfer.DataFlavor implements Serializable


       Serialization Methods


      readExternal

      public void readExternal(ObjectInput is)
                        throws IOException,
                               ClassNotFoundException

            restore this DataFlavor from an Serialized state



      writeExternal

      public void writeExternal(ObjectOutput os)
                         throws IOException

            Serialize this DataFlavor
      -------------------------------------------------------------

      ======================================================================

            sharonz Sharon Zakhour (Inactive)
            oovsunw Oov Oov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: