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

adjust some WSAGetLastError usages in windows network coding

    XMLWordPrintable

    Details

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

      Backports

        Description

        There are a number usages of the WSAGetLastError function in the windows network coding that are a bit problematic :
        - at one place the function is not called immediately after error ( jdk/src/java.base/windows/native/libnet/SocketInputStream.c)
        - at 2 places the function is used where no socket error occured but malloc failed (jdk/src/java.base/windows/native/libnet/Inet6AddressImpl.c ping6 and jdk/src/java.base/windows/native/libnet/Inet4AddressImpl.c ping4 )
         

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mbaesken Matthias Baesken
                Reporter:
                mbaesken Matthias Baesken
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: