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

No runtime error expected after calling NET_MapSocketOption

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • core-libs
    • b139
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: