ShutdownChannelGroupException when perform Future.get
Alan Bateman
Alan.Bateman at oracle.com
Sat Jan 11 08:16:32 PST 2014
On 11/01/2014 14:35, Li Li wrote:
> hi all,
> I am test an example of Pro Java 7 NIO.2 But it throws exception
You seem to be shutting down the thread pool before the I/O operations
have completed. Can you move this to after you've waited for all I/O
operations to complete? (if this example is copied verbatim from the
book then it would be good to report the example bug to the book
author(s) too).
-Alan.
More information about the nio-discuss
mailing list