RFR of JDK-8202481: RegisterDuringSelect.java fails with java.util.concurrent.ExecutionException: java.nio.channels.ClosedSelectorException
Alan.Bateman at oracle.com
Wed Jul 11 11:24:10 UTC 2018
On 11/07/2018 03:07, Hamlin Li wrote:
> would you please review the following patch?
> This is a patch to fix JDK-8202481 and add debug info for JDK-8206959.
> bug: https://bugs.openjdk.java.net/browse/JDK-8202481,
> webrev: http://cr.openjdk.java.net/~mli/8202481/webrev.00/
I think it would be simpler to just let selectLoop terminate gracefully
when ClosedSelectorException is thrown (no need for
isCloseExceptionPossible flag). That is what it was originally supposed
More information about the nio-dev