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

java/net/InetAddress/CheckJNI.java fails intermittently with Connection timed out

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: core-libs

      Description

      java/net/InetAddress/CheckJNI.java fails intermittently with Connection timed out, very rare though.

      Testing IPv6 Socket
      Testing IPv6 DatagramSocket
      Testing IPv6 Socket
      ----------System.err:(24/1650)----------
      java.net.ConnectException: Connection timed out: connect
      at java.base/java.net.DualStackPlainSocketImpl.connect0(Native Method)
      at java.base/java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
      at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:400)
      at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:243)
      at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:225)
      at java.base/java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
      at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:402)
      at java.base/java.net.Socket.connect(Socket.java:591)
      at java.base/java.net.Socket.connect(Socket.java:540)
      at java.base/java.net.Socket.<init>(Socket.java:436)
      at java.base/java.net.Socket.<init>(Socket.java:246)
      at CheckJNI.main(CheckJNI.java:68)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:563)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.base/java.lang.Thread.run(Thread.java:844)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dfuchs Daniel Fuchs
                Reporter:
                amlu Amy Lu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: