2014-03-24 19:47 GMT+01:00 Mark Thomas <[email protected]>:
> - Various NIO2 fixes
>
> Along with some other fixes, I cleaned up some shutdown issues. It now
looks ok in Linux, but there's one known issue on Windows:
https://bugs.openjdk.java.net/browse/JDK-7056546
When testing on Windows traces like this can happen on shutdown (they do
happen a lot when running the testsuite):
Exception in thread "Thread-3"
java.nio.channels.ShutdownChannelGroupException
at sun.nio.ch.Invoker.invokeIndirectly(Invoker.java:210)
at sun.nio.ch.Invoker.invoke(Invoker.java:176)
at sun.nio.ch.Invoker.invoke(Invoker.java:285)
at
sun.nio.ch.WindowsAsynchronousSocketChannelImpl$ReadTask.failed(WindowsAsynchronousSocketChannelImpl.java:600)
at sun.nio.ch.Iocp$EventHandlerTask.run(Iocp.java:399)
at java.lang.Thread.run(Thread.java:744)
So it is expected (the pending reads for keepalive cannot be stopped), and
it cannot be caught.
Rémy