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

Javadoc doesn't specify that connect() and bind() methods expect InetSocketAddre

XMLWordPrintable

    • beta2
    • sparc
    • generic



      Name: dfR10049 Date: 06/08/2001



      Javadoc does not specify that connect() and bind() methods of
      Socket, ServerSocket, DatagramSocket, MulticastSocket classes
      expect that SocketAddress parameter is instance of InetSocketAddress.
      An exception will be thrown with an instance of other class.
      This behavior should be specified.

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

            shommel Scott Hommel (Inactive)
            fdasunw Fda Fda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: