- 
    Bug 
- 
    Resolution: Cannot Reproduce
- 
     P4 P4
- 
    9
- 
        x86_64
- 
        solaris
                    After switch the run to concurrency mode, start observe this test fails  intermittently (though very rare) with "Should not complete".
----------System.out:(13/268)----------
-- bind --
-- socket options --
-- connect --
-- asynchronous close when connecting --
-- asynchronous close when reading --
-- asynchronous close when writing --
-- cancel --
-- read (1) --
-- read (2) --
-- read (3) --
-- write (1) --
-- write (2) --
-- timeouts --
----------System.err:(27/1653)----------
java.lang.RuntimeException: java.lang.RuntimeException: Should not complete
at Basic.testTimeout(Basic.java:783)
at Basic.testTimeout(Basic.java:738)
at Basic.main(Basic.java:68)
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:502)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Should not complete
at Basic$10.completed(Basic.java:756)
at Basic$10.completed(Basic.java:754)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:430)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)
at sun.nio.ch.SolarisEventPort$EventHandlerTask.run(SolarisEventPort.java:209)
at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at sun.misc.InnocuousThread.run(InnocuousThread.java:74)
----------System.out:(13/268)----------
-- bind --
-- socket options --
-- connect --
-- asynchronous close when connecting --
-- asynchronous close when reading --
-- asynchronous close when writing --
-- cancel --
-- read (1) --
-- read (2) --
-- read (3) --
-- write (1) --
-- write (2) --
-- timeouts --
----------System.err:(27/1653)----------
java.lang.RuntimeException: java.lang.RuntimeException: Should not complete
at Basic.testTimeout(Basic.java:783)
at Basic.testTimeout(Basic.java:738)
at Basic.main(Basic.java:68)
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:502)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Should not complete
at Basic$10.completed(Basic.java:756)
at Basic$10.completed(Basic.java:754)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:430)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)
at sun.nio.ch.SolarisEventPort$EventHandlerTask.run(SolarisEventPort.java:209)
at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at sun.misc.InnocuousThread.run(InnocuousThread.java:74)
- relates to
- 
                    JDK-8176317 (ch) Add print of timeout value to java/nio/channels/AsynchronousSocketChannel/Basic.java -           
- Resolved
 
-         
- 
                    JDK-8078585 (ch) java/nio/channels/AsynchronousChannelGroup/Basic.java fails intermittently -           
- Open
 
-         
- 
                    JDK-8161991 (ch) java/nio/channels/AsynchronousSocketChannel/Basic.java failed due to RuntimeException: WritePendingException expected -           
- Resolved
 
-         
- 
                    JDK-8156512 Mark several tests from java/nio as intermittently failing -           
- Closed
 
-