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

(spec) Unspecified Socket/ServerSocket constructors behavior

    Details

    • Subcomponent:
    • Resolved In Build:
      b05
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  yuwangsunw Yujiang Wang (Inactive)
                  Reporter:
                  xuelei Xue-Lei Fan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: