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

java/nio/channels/AsynchronousSocketChannel/Basic.java timed out

    XMLWordPrintable

Details

    • generic
    • windows

    Description

      It seems to be intermittent failure. Similar issue was also seen in prior release on Windows 7 too. See JDK-8022215.

      test output:

      ----------System.out:(10/231)----------
      -- bind --
      -- socket options --
      -- connect --
      -- asynchronous close when connecting --
      -- asynchronous close when reading --
      -- asynchronous close when writing --
      -- cancel --
      -- read (1) --
      -- read (2) --
      -- read (3) --
      ----------System.err:(15/826)----------
      java.nio.channels.ClosedByInterruptException
      at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202)
      at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:478)
      at Basic.testRead3(Basic.java:545)
      at Basic.main(Basic.java:63)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:776)
      at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.nio.channels.ClosedByInterruptException

      Attachments

        Issue Links

          Activity

            People

              mli Hamlin Li
              xiaofeya Xiaofeng Yang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: