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

java/net/Socket/InheritTimeout.java fails intermittently due to SocketTimeoutException

XMLWordPrintable

      java/net/Socket/InheritTimeout.java fails intermittently, very rare though.

      ----------System.err:(17/1101)----------
      java.net.SocketTimeoutException: Accept timed out
      at java.net.PlainSocketImpl.socketAccept(java.base@9-ea/Native Method)
      at java.net.AbstractPlainSocketImpl.accept(java.base@9-ea/AbstractPlainSocketImpl.java:459)
      at java.net.ServerSocket.implAccept(java.base@9-ea/ServerSocket.java:551)
      at java.net.ServerSocket.accept(java.base@9-ea/ServerSocket.java:519)
      at InheritTimeout.<init>(InheritTimeout.java:67)
      at InheritTimeout.main(InheritTimeout.java:93)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:535)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:843)

      JavaTest Message: Test threw exception: java.net.SocketTimeoutException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.net.SocketTimeoutException: Accept timed out

            michaelm Michael McMahon
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: