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

No runtime error expected after calling NET_MapSocketOption

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b139
    • OS:
      windows

      Description

      After calling the function NET_MapSocketOption no runtime error shall be expected, since this is only about mapping some option codes by iterating over a structure.However, in 2 Windows socket implementation files, there are places where the exception generator functions that evaluate runtime errors are called. (JNU_ThrowByNameWithLastError instead of JNU_ThrowByName).The files are:java.base/windows/native/libnet/DualStackPlainDatagramSocketImpl.cjava.base/windows/native/libnet/DualStackPlainSocketImpl.c

        Attachments

          Activity

            People

            Assignee:
            clanger Christoph Langer
            Reporter:
            clanger Christoph Langer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: