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

Ladybird b11 Socket throws SocketExc instead of specific exc if connect fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.2.2_008, 1.3.1
    • Fix Version/s: 1.3.1
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      ladybird
    • CPU:
      generic, x86
    • OS:
      windows_nt

      Description


      The CTE backport of 4110694 into ladybird is missing one line to pick up
      the winsock error code after a connection fails to establish. The result is
      that a SocketException gets thrown instead of a specific sub-class of
      SocketException. The exception throw has a mis-leading message as the
      error code hasn't been translated into an error text.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alanb Alan Bateman
              Reporter:
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: