No runtime error expected after calling NET_MapSocketOption

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • b139
    • windows

      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

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

              Created:
              Updated:
              Resolved: