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

Specify required, and implemetned behavior of DataHandler Transferable impl.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.0fcs
    • alpha
    • other-libs
    • None
    • 1.0fcs
    • generic
    • solaris_2.6
    • Verified

      Javadoc needs to explain where the results from the Transferrable interface implementation in DataHandler are derived.

      getTransferDataFlavors: Javadoc needs to explain how this is implemented.
      1. It's derived from DataContentHandler.getTransferDataFlavors
      2. if no user defined dch is provided, then private implementations DataSourceDataContentHandler
      and ObjectDataContentHandler are used, and their behavior is ???

      There's no way I can determine from the doc what the result should be for testing.

      isDataFlavorSupported: Javadoc needs to indicate that it's implemented in terms of
      getTransferDataFlavors. Then I can verify against that result.

      Note that if there's a distinction between the requirements of these for any Jaf implentation, and the reference implementation, then both need to be documented, so that appropriate functional, and jck tests can be written.

            bshannon Bill Shannon (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: