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

java/nio/channels/AsynchronousChannelGroup/Unbounded.java fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 11
    • 11
    • core-libs
    • None
    • x86_64
    • windows

      Fails on windows with "An operation was attempted on something that is not a socket":

      java.util.concurrent.ExecutionException: java.io.IOException: An operation was attempted on something that is not a socket
      at java.base/sun.nio.ch.PendingFuture.get(PendingFuture.java:183)
      at Unbounded.main(Unbounded.java:94)
      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:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
      at java.base/java.lang.Thread.run(Thread.java:842)
      Caused by: java.io.IOException: An operation was attempted on something that is not a socket
      at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl.write0(Native Method)
      at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl.access$900(WindowsAsynchronousSocketChannelImpl.java:43)
      at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl$WriteTask.run(WindowsAsynchronousSocketChannelImpl.java:770)
      at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl.implWrite(WindowsAsynchronousSocketChannelImpl.java:906)
      at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:382)
      at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:387)
      ... 7 more

            chegar Chris Hegarty
            mikael Mikael Vidstedt
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: