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

Improve exception messages thrown by sun.nio.ch.Net native methods (win)

XMLWordPrintable

    • b20
    • generic
    • windows

        On Windows, we miss at some places a socket error handling function that provides an additional message showing what went wrong. This leads sometimes to exceptions like

        MSG RTE: javax.naming.CommunicationException: example.com:1234 [Root exception is java.net.ConnectException: Connection timed out: no further information]

        see https://bugs.openjdk.org/browse/JDK-8317307

        We could use the existing NET_ThrowNew for this.

              mbaesken Matthias Baesken
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: