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

Javadoc for DataHandler.getOutputStream may mislead on URL case.

XMLWordPrintable

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

        DataHandler.getOutputStream: JavaDoc states "...only with DataHandlers that were created with a DataSource." This may be misleading, as the DataHandler(URL) case is not expliciltly created with a
        DataSource, though it does provide one. It won't return null for getOutputStream as suggested by this coment, unless it fails to establish a connection.

              duke J. Duke
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: