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

Description of PortUnreachableException should link to verbage in connect method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 7
    • core-libs
    • generic
    • generic

      DatagramSocket#connect provides a reasonable description on conditions as to when PortUnreachablException is thrown. The descripion of the exception in the send and receive methods, on the other hand, aren't sufficient. These descriptions should be re-worked with a one-liner to explain that the exception may be thrown if an ICMP port unreachable packet is received and link to the corresponding description in the connect method. See 6862016 for background.

            Unassigned Unassigned
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: