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

java/nio/channels/AsyncCloseAndInterrupt.java fails throwing exception: java.nio.channels.ClosedChannelException

XMLWordPrintable

    • b115
    • sparc
    • solaris

        SocketChannel/read/close
        java.lang.Exception: SocketChannel/read/close threw an exception
        at TestThread.finishAndThrow(TestThread.java:80)
        at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:606)
        at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:626)
        at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:636)
        at AsyncCloseAndInterrupt.main(AsyncCloseAndInterrupt.java:697)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
        Caused by: java.nio.channels.ClosedChannelException
        at sun.nio.ch.SocketChannelImpl.ensureReadOpen(java.base@9-ea/SocketChannelImpl.java:260)
        at sun.nio.ch.SocketChannelImpl.read(java.base@9-ea/SocketChannelImpl.java:303)
        at AsyncCloseAndInterrupt$10.doIO(AsyncCloseAndInterrupt.java:262)
        at AsyncCloseAndInterrupt$Tester.go(AsyncCloseAndInterrupt.java:486)
        at TestThread.run(TestThread.java:55)

        DatagramChannel/read/close
        java.lang.Exception: DatagramChannel/read/close threw an exception
        at TestThread.finishAndThrow(TestThread.java:80)
        at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:606)
        at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:626)
        at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:636)
        at AsyncCloseAndInterrupt.main(AsyncCloseAndInterrupt.java:735)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
        Caused by: java.nio.channels.ClosedChannelException
        at sun.nio.ch.DatagramChannelImpl.ensureOpen(java.base@9-ea/DatagramChannelImpl.java:323)
        at sun.nio.ch.DatagramChannelImpl.read(java.base@9-ea/DatagramChannelImpl.java:541)
        at AsyncCloseAndInterrupt$10.doIO(AsyncCloseAndInterrupt.java:262)
        at AsyncCloseAndInterrupt$Tester.go(AsyncCloseAndInterrupt.java:486)
        at TestThread.run(TestThread.java:55)

        Only changeset associated to this build corresponds to https://bugs.openjdk.java.net/browse/JDK-8153027: "Exclude tools/jimage/JImageTest.java" which seems to have nothing to do with this intermittent networking test issue.

        The following change set was intended to increase stability of the test, we need to inspect it (JDK-8151582).
        http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/88577677aec9

              mli Hamlin Li
              ggalimbe Gustavo Galimberti (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: