RFR of JDK-8202481: RegisterDuringSelect.java fails with java.util.concurrent.ExecutionException: java.nio.channels.ClosedSelectorException
Hamlin Li
huaming.li at oracle.com
Thu Jul 12 05:44:49 UTC 2018
Hi Alan,
Thank you for review, I have updated code in place.
-Hamlin
On 2018/7/11 7:24 PM, Alan Bateman wrote:
> 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,
>> https://bugs.openjdk.java.net/browse/JDK-8207023
>>
>> 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 to do.
>
> -Alan
More information about the nio-dev
mailing list