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

java/nio/channels/AsynchronousChannelGroup/Restart.java fails intermittently

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      solaris

      Description

      java/nio/channels/AsynchronousChannelGroup/Restart.java fails intermittently

      ----------System.err:(25/1924)----------
      java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
      at sun.nio.ch.PendingFuture.get(java.base@9-ea/PendingFuture.java:183)
      at Restart.testRestart(Restart.java:135)
      at Restart.main(Restart.java:71)
      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:537)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)
      Caused by: java.net.ConnectException: Connection refused
      at sun.nio.ch.UnixAsynchronousSocketChannelImpl.checkConnect(java.base@9-ea/Native Method)
      at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishConnect(java.base@9-ea/UnixAsynchronousSocketChannelImpl.java:251)
      at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(java.base@9-ea/UnixAsynchronousSocketChannelImpl.java:197)
      at sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(java.base@9-ea/UnixAsynchronousSocketChannelImpl.java:212)
      at sun.nio.ch.SolarisEventPort$EventHandlerTask.run(java.base@9-ea/SolarisEventPort.java:209)
      at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(java.base@9-ea/AsynchronousChannelGroupImpl.java:112)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1161)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:635)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)
      at jdk.internal.misc.InnocuousThread.run(java.base@9-ea/InnocuousThread.java:122)

      JavaTest Message: Test threw exception: java.util.concurrent.ExecutionException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused

        Attachments

          Activity

            People

            Assignee:
            bpb Brian Burkhalter
            Reporter:
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: