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

[17u,11u] B8312065.java fails Network is unreachable

XMLWordPrintable

    • b03
    • generic
    • linux

        Test java/net/Socket/B8312065.java fails "java.net.ConnectException: Network is unreachable (connect failed)" on some machines.

        The test log snippet:
        STDOUT:
        SIGPIPE
        STDERR:
        java.net.ConnectException: Network is unreachable (connect failed)
                at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
                at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
                at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
                at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
                at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
                at java.base/java.net.Socket.connect(Socket.java:668)
                at B8312065.main(B8312065.java:77)

              syan Sendao Yan
              syan Sendao Yan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: