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

(spec) Unspecified Socket/ServerSocket constructors behavior

XMLWordPrintable

    • b05
    • generic
    • generic
    • Not verified

        The java.net.Socket and java.net.ServerSocket constructors don't declare the IllegalArgumentException, while it is really thrown when the port number is negative, "java.lang.IllegalArgumentException: port out of range" or "java.lang.IllegalArgumentException: port value out of range".
        ###@###.### 2005-06-14 09:58:43 GMT

              yuwangsunw Yujiang Wang (Inactive)
              xuelei Xuelei Fan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: