E:\>jdk-10.0.2\bin\java LotsOfCancels begin handle 1 begin poll 1 begin handle 7 begin poll 7 begin handle 8 begin poll 8 begin handle 9 begin poll 9 begin handle 10 begin poll 10 begin handle 11 begin poll 11 begin handle 12 begin poll 12 begin handle 13 begin poll 13 begin handle 14 begin poll 14 begin handle 15 begin poll 15 begin handle 16 begin poll 16 begin handle 2 begin poll 2 begin handle 3 begin poll 3 begin handle 4 begin poll 4 begin handle 5 begin poll 5 begin handle 6 begin poll 6 WatchService 8 closing ... WatchService 8 closed poll 8 expected exception java.nio.file.ClosedWatchServiceException end handle 8 end poll 8 WatchService 10 closing ... WatchService 10 closed poll 10 expected exception java.nio.file.ClosedWatchServiceException WatchService 13 closing ... WatchService 11 closing ... end handle 10 poll 11 expected exception java.nio.file.ClosedWatchServiceException WatchService 11 closed poll 13 expected exception java.nio.file.ClosedWatchServiceException WatchService 13 closed WatchService 14 closing ... end poll 10 poll 14 expected exception java.nio.file.ClosedWatchServiceException WatchService 14 closed end handle 13 WatchService 16 closing ... end poll 13 WatchService 4 closing ... end handle 11 end poll 11 WatchService 9 closing ... poll 4 expected exception java.nio.file.ClosedWatchServiceException WatchService 4 closed poll 16 expected exception java.nio.file.ClosedWatchServiceException WatchService 16 closed end handle 14 WatchService 6 closing ... WatchService 5 closing ... end poll 14 poll 5 expected exception java.nio.file.ClosedWatchServiceException WatchService 5 closed poll 6 expected exception java.nio.file.ClosedWatchServiceException WatchService 6 closed WatchService 12 closing ... end handle 16 end poll 16 WatchService 7 closing ... end handle 4 end poll 4 WatchService 1 closing ... poll 9 expected exception java.nio.file.ClosedWatchServiceException WatchService 9 closed end poll 9 poll 1 expected exception java.nio.file.ClosedWatchServiceException WatchService 1 closed poll 7 expected exception java.nio.file.ClosedWatchServiceException WatchService 7 closed poll 12 expected exception java.nio.file.ClosedWatchServiceException WatchService 12 closed end handle 6 WatchService 2 closing ... end poll 6 end handle 5 WatchService 15 closing ... end poll 5 poll 15 expected exception java.nio.file.ClosedWatchServiceException WatchService 15 closed poll 2 expected exception java.nio.file.ClosedWatchServiceException WatchService 2 closed end handle 12 end poll 12 end handle 7 end poll 7 end handle 1 end poll 1 end handle 9 end handle 2 end poll 2 end handle 15 end poll 15 WatchService 3 closing ... WatchService 3 closed poll 3 expected exception java.nio.file.ClosedWatchServiceException end handle 3 end poll 3