Duplicate :
|
|
Relates :
|
|
Relates :
|
java/nio/channels/Selector/LotsOfChannels.java fails intermittently on Windows: ----------System.err:(22/1615)---------- java.io.IOException: An operation was attempted on something that is not a socket at java.base/sun.nio.ch.SocketDispatcher.close0(Native Method) at java.base/sun.nio.ch.SocketDispatcher.close(SocketDispatcher.java:63) at java.base/sun.nio.ch.SocketChannelImpl.kill(SocketChannelImpl.java:894) at java.base/sun.nio.ch.SocketChannelImpl.implCloseSelectableChannel(SocketChannelImpl.java:882) at java.base/java.nio.channels.spi.AbstractSelectableChannel.implCloseChannel(AbstractSelectableChannel.java:241) at java.base/java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:112) at java.base/sun.nio.ch.SinkChannelImpl.kill(SinkChannelImpl.java:68) at java.base/sun.nio.ch.WindowsSelectorImpl.implClose(WindowsSelectorImpl.java:518) at java.base/sun.nio.ch.SelectorImpl.implCloseSelector(SelectorImpl.java:116) at java.base/java.nio.channels.spi.AbstractSelector.close(AbstractSelector.java:111) at LotsOfChannels.main(LotsOfChannels.java:75) 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) J
|