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

(ch) java/nio/channels/AsynchronousChannelGroup/Basic.java fails with AsynchronousCloseException expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9
    • core-libs
    • None

      java.lang.RuntimeException: AsynchronousCloseException expected
      at Basic.testCloseWhenPending(Basic.java:375)
      at Basic.main(Basic.java:64)
      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.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
      at java.base/java.lang.Thread.run(Thread.java:844)
      Caused by: java.nio.channels.ClosedChannelException
      at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:366)
      at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:399)
      at java.base/java.nio.channels.AsynchronousSocketChannel.write(AsynchronousSocketChannel.java:577)
      at Basic$2.completed(Basic.java:337)
      at Basic$2.completed(Basic.java:334)
      at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
      at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:282)
      at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl$WriteTask.completed(WindowsAsynchronousSocketChannelImpl.java:829)
      at java.base/sun.nio.ch.Iocp$EventHandlerTask.run(Iocp.java:387)
      at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1161)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.base/java.lang.Thread.run(Thread.java:844)
      at java.base/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:122)

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: